[MPlayer-dev-eng] [PATCH] Recognize audio format mp3 in wav files

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 24 21:58:51 CEST 2012


On 24 Jul 2012, at 13:23, Ingo Brückl <ib at wupperonline.de> wrote:
> Subject says it all.
> 
> I happen to have a wav file that contains mp3 data. MPlayer's default
> demuxer can't play it, while -demuxer lavf plays it just fine. The patch
> makes MPlayer's default demuxer to play it as well.
> 
> If there are no objections, I'd like to commit.

It doesn't really seem right to me, looks like it forces the demuxer to misdetect it as raw MP3 file.
That for example isn't really correct when the RIFF data size is smaller than the file size (e.g. for those combined audio/video formats that consist of a WAV file with images appended after it).
What exactly is the problem/why does it not work?
Is it maybe just a matter of enabling parsing in that case?


More information about the MPlayer-dev-eng mailing list