# HG changeset patch # User nicodvb # Date 1113757735 0 # Node ID 49b46377b668e53735bc07c8908bf5ef7316ea7a # Parent 72bde716c1b8a0ef6ff00fe96c88cfecef08a82f skip framelen-4 bytes after having successfully detected an mpeg audio frame diff -r 72bde716c1b8 -r 49b46377b668 libmpdemux/demux_audio.c --- a/libmpdemux/demux_audio.c Sun Apr 17 13:45:55 2005 +0000 +++ b/libmpdemux/demux_audio.c Sun Apr 17 17:08:55 2005 +0000 @@ -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;