1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-17 20:17:55 +02:00

avcodec/ac3dec: fix build when eac3 decoder is disabled

Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Nicolas Gaullier 2024-10-27 01:01:23 +02:00 committed by Anton Khirnov
parent 248832dd5b
commit 44d32c8a23
2 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config_components.h"
#define USE_FIXED 1
#include "ac3dec.h"
#include "codec_internal.h"
@ -152,7 +153,9 @@ static void ac3_downmix_c_fixed16(int16_t **samples, int16_t **matrix,
}
}
#if CONFIG_EAC3_DECODER
#include "eac3dec.c"
#endif
#include "ac3dec.c"
static const AVOption options[] = {

View File

@ -34,7 +34,9 @@
#include "ac3dec.h"
#include "codec_internal.h"
#include "profiles.h"
#if CONFIG_EAC3_DECODER
#include "eac3dec.c"
#endif
#include "ac3dec.c"
static const AVOption options[] = {