[MPlayer-cvslog] CVS: main/libmpcodecs ad_mp3lib.c,1.7,1.8
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun Dec 26 12:54:04 CET 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv9495/libmpcodecs
Modified Files:
ad_mp3lib.c
Log Message:
Demuxer was fixed, so do not skip the first frame anymore
Index: ad_mp3lib.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_mp3lib.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ad_mp3lib.c 21 Sep 2004 20:34:46 -0000 1.7
+++ ad_mp3lib.c 26 Dec 2004 11:54:01 -0000 1.8
@@ -46,7 +46,6 @@
MP3_Init();
#endif
MP3_samplerate=MP3_channels=0;
- MP3_DecodeFrame(NULL,-2); // FIXME: skip the first frame (often trashed)
sh->a_buffer_len=MP3_DecodeFrame(sh->a_buffer,-1);
if(!sh->a_buffer_len) return 0; // unsupported layer/format
sh->channels=2; // hack
More information about the MPlayer-cvslog
mailing list