[FFmpeg-devel] [PATCH] parser: error out if the codec doesn't match

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jan 5 22:40:26 CET 2016


On 05.01.2016 21:40, Michael Niedermayer wrote:
> On Tue, Jan 05, 2016 at 12:48:10PM +0100, Andreas Cadhalpun wrote:
>>  parser.c |    7 +++++++
>>  1 file changed, 7 insertions(+)
>> 1a29aebd63e39c82039cddb1239de415b1da43df  0001-parser-add-av_assert1-to-make-sure-the-codec-matches.patch
>> From 80f6baa6d091807538461bab28656e3cf7303a2d Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Mon, 4 Jan 2016 23:52:20 +0100
>> Subject: [PATCH] parser: add av_assert1 to make sure the codec matches
>>
>> Otherwise this can have some surprising effects (crashes), so let's
>> better not allow it.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list