summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-26 11:54:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-26 11:54:01 +0000
commita5892844f6d170960916e1caa5bd134075ffcd1d (patch)
tree5d40ec439dfba27c4988f6dbd44f0387bcc23f71 /libmpcodecs
parent05026693d20d52e9ba8a7c3f5fde53488a6138b3 (diff)
downloadmpv-a5892844f6d170960916e1caa5bd134075ffcd1d.tar.bz2
mpv-a5892844f6d170960916e1caa5bd134075ffcd1d.tar.xz
Demuxer was fixed, so do not skip the first frame anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14243 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_mp3lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpcodecs/ad_mp3lib.c b/libmpcodecs/ad_mp3lib.c
index c5716ef317..6ef422961b 100644
--- a/libmpcodecs/ad_mp3lib.c
+++ b/libmpcodecs/ad_mp3lib.c
@@ -46,7 +46,6 @@ static int init(sh_audio_t *sh)
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