History

avcodec/ac3dec: fix build when eac3 decoder is disabled

Nicolas Gaullier committed 2 years ago

Commit 44d32c81 parent 248832d2 files · +5 −0Browse files

Unified · Split

2 files
  1. libavcodec/ac3dec_fixed.c +3 −0
  2. libavcodec/ac3dec_float.c +2 −0
libavcodec/ac3dec_fixed.c+3−0
@@ -47,6 +47,7 @@ · 46 unmodified lines
47 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA47 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
48 */48 */
49 49
50#include "config_components.h"
50#define USE_FIXED 151#define USE_FIXED 1
51#include "ac3dec.h"52#include "ac3dec.h"
52#include "codec_internal.h"53#include "codec_internal.h"
@@ -152,7 +153,9 @@ static void ac3_downmix_c_fixed16(int16_t **samples, int16_t **matrix, · 99 unmodified lines
152 }153 }
153}154}
154 155
156#if CONFIG_EAC3_DECODER
155#include "eac3dec.c"157#include "eac3dec.c"
158#endif
156#include "ac3dec.c"159#include "ac3dec.c"
157 160
158static const AVOption options[] = {161static const AVOption options[] = {
libavcodec/ac3dec_float.c+2−0
@@ -34,7 +34,9 @@ · 33 unmodified lines
34#include "ac3dec.h"34#include "ac3dec.h"
35#include "codec_internal.h"35#include "codec_internal.h"
36#include "profiles.h"36#include "profiles.h"
37#if CONFIG_EAC3_DECODER
37#include "eac3dec.c"38#include "eac3dec.c"
39#endif
38#include "ac3dec.c"40#include "ac3dec.c"
39 41
40static const AVOption options[] = {42static const AVOption options[] = {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t