skip framelen-4 bytes after having successfully detected an mpeg audio frame

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15205 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2005-04-17 17:08:55 +00:00
parent 7065445f1c
commit 4593e0f2cf
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ int demux_audio_open(demuxer_t* demuxer) {
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;