Codebase list faad2 / 74e949f
fix compilation with LC_ONLY_DECODER (#47) 881b5e263f25a8a8b714e83407fc2c9dab407e40 broke compilation by always defining DRN and DRM_PS. Fix this and place the define where it belongs. Rosen Penev authored 4 years ago GitHub committed 4 years ago
2 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3131
3232 libfaad_drm_la_LDFLAGS = ${libfaad_la_LDFLAGS}
3333 libfaad_drm_la_LIBADD = ${libfaad_la_LIBADD}
34 libfaad_drm_la_CFLAGS = ${libfaad_la_CFLAGS} -DDRM -DDRM_PS
34 libfaad_drm_la_CFLAGS = ${libfaad_la_CFLAGS} -DDRM_SUPPORT
3535 libfaad_drm_la_SOURCES = ${libfaad_la_SOURCES}
9090 /* Allow decoding of LD profile AAC */
9191 #define LD_DEC
9292 /* Allow decoding of Digital Radio Mondiale (DRM) */
93 //#define DRM
94 //#define DRM_PS
93 #ifdef DRM_SUPPORT
94 #define DRM
95 #define DRM_PS
96 #endif
9597
9698 /* LD can't do without LTP */
9799 #ifdef LD_DEC
114116 #undef MAIN_DEC
115117 #undef SSR_DEC
116118 #undef DRM
119 #undef DRM_PS
117120 #undef ALLOW_SMALL_FRAMELENGTH
118121 #undef ERROR_RESILIENCE
119122 #endif