[MPlayer-dev-eng] muxer_mpeg fails link when --disable-liba52 is specified

Gianluigi Tiesi mplayer at netfarm.it
Mon Jan 23 14:28:57 CET 2006


I've attached a patch to prevent muxer_mpeg to try to link liba52
function a52_syncinfo, I known this can break a bit the muxer,
I think others ifdefs should also added. At least it should compile
I don't known how you want to do but disabling --disable-liba52 options
is doesn't seams a good idea.

Bye
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: libmpdemux/muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.30
diff -u -r1.30 muxer_mpeg.c
--- libmpdemux/muxer_mpeg.c	12 Jan 2006 20:04:34 -0000	1.30
+++ libmpdemux/muxer_mpeg.c	23 Jan 2006 13:26:28 -0000
@@ -2259,7 +2259,7 @@
 			}
 		}
 		break;
-
+#ifdef USE_LIBA52
 		case AUDIO_A52:
 		{
 			while(i + 6 < s->b_buffer_len)
@@ -2289,7 +2289,7 @@
 			}
 		}
 		break;
-
+#endif
 		case AUDIO_AAC1:
 		case AUDIO_AAC2:
 		{


More information about the MPlayer-dev-eng mailing list