[FFmpeg-devel] [PATCH] mkvdec: Fix crash with invalid real audio tracks (issue1656)

Aurelien Jacobs aurel
Tue Jan 12 00:12:34 CET 2010

On Mon, Jan 11, 2010 at 04:50:20AM +0000, Carl Eugen Hoyos wrote:
> Aurelien Jacobs <aurel <at> gnuage.org> writes:
> > You may have missunderstood the bug report. The original rmvb file works
> > with any player. After remuxing it to mkv with ffmpeg, no player can play
> > the mkv file (at least neither MPlayer nor VLC).
> OP wrote:
> The resulting MKV file seems perfectly valid; mkvinfo/mkvmerge (libmatroska) and
> Haali's mkv parsing library both read it just fine with no complaints.
> I understand that the resulting file is playable but even after the patch,
> ffmpeg refuses to decode anything.

Well, mkvinfo/mkvmerge don't even try to decode the real audio stream at all.
It just demux/remux without touching the Real extradata.
I don't know about Haali's parsing library...
But one sure thing is that our mkv muxer generates broken files when it
write Real tracks (missing/incorrect extradata). And I really doubt that
any tool would be able to play such a file.


More information about the ffmpeg-devel mailing list