# HG changeset patch # User diego # Date 1273408095 0 # Node ID 4592275518191e495cbf4d8a37fa48d84ccacf14 # Parent fb0f2042a60b17f7ec0c94eafed15961513e8751 Use the system liba52 headers when internal liba52 is disabled, fixes: libmpdemux/muxer_mpeg.c:2121: warning: implicit declaration of function 'a52_syncinfo' diff -r fb0f2042a60b -r 459227551819 libmpdemux/muxer_mpeg.c --- a/libmpdemux/muxer_mpeg.c Sun May 09 11:20:15 2010 +0000 +++ b/libmpdemux/muxer_mpeg.c Sun May 09 12:28:15 2010 +0000 @@ -38,7 +38,12 @@ #include "aac_hdr.h" #include "mpeg_hdr.h" #include "mp3_hdr.h" + +#ifdef CONFIG_LIBA52 +#include +#else #include "liba52/a52.h" +#endif #define PACK_HEADER_START_CODE 0x01ba #define SYSTEM_HEADER_START_CODE 0x01bb