[MPlayer-cvslog] CVS: main/libmpdemux demux_audio.c,1.32,1.33
Nico Sabbi CVS
syncmail at mplayerhq.hu
Sun Apr 17 19:08:57 CEST 2005
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv3668
Modified Files:
demux_audio.c
Log Message:
skip framelen-4 bytes after having successfully detected an mpeg audio frame
Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_audio.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- demux_audio.c 17 Apr 2005 09:42:51 -0000 1.32
+++ demux_audio.c 17 Apr 2005 17:08:55 -0000 1.33
@@ -158,6 +158,7 @@
frmt = WAV;
break;
} else if((mp3_flen = mp_get_mp3_header(hdr,&mp3_chans,&mp3_freq,&mpa_spf,&mpa_layer)) > 0) {
+ stream_skip(s, mp3_flen - HDR_SIZE);
mp3_found = add_mp3_hdr(&mp3_hdrs, st_pos, mp3_chans, mp3_freq, mp3_flen);
if (mp3_found) {
frmt = MP3;
More information about the MPlayer-cvslog
mailing list