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

Aurelien Jacobs aurel
Sun Jan 10 23:24:59 CET 2010

On Sun, Jan 10, 2010 at 07:12:08PM +0100, Reimar D?ffinger wrote:
> On Tue, Jan 05, 2010 at 12:56:01AM -0500, David Conrad wrote:
> > This simply doesn't descramble real audio if the parameters are obviously invalid. The audio won't work of course since needed info is missing, but it won't crash.
> But reportedly other players can play that file, or did I misunderstand
> that bug report?

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).
The actual bug seems to be in our mkv muxer storing invalid extradata for
real audio codecs.
But this patch at least prevent our demuxer to crash on those invalid files.


More information about the ffmpeg-devel mailing list