Skip to content

Commit

Permalink
build: Detect when OpenFEC is built without some codecs
Browse files Browse the repository at this point in the history
Earlier we required that OpenFEC should be always built with
both rs8m and ldpc enabled.

Now we updated to OpenFEC 1.4.2.11, which provides cmake options
to disable some codec. We detect it and don't use disabled codecs.
  • Loading branch information
gavv committed Aug 13, 2024
1 parent ef74778 commit 96d4fbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/internal_modules/roc_fec/codec_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#include "roc_fec/openfec_encoder.h"
#endif // ROC_TARGET_OPENFEC

extern "C" {
#include <of_openfec_api.h>
}

namespace roc {
namespace fec {

Expand Down

0 comments on commit 96d4fbe

Please sign in to comment.