[FFmpeg-devel] [PATCH] snow: remove strange av_assert2

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Jul 10 16:22:04 CEST 2015

On 10.07.2015 02:12, Michael Niedermayer wrote:
> On Thu, Jul 09, 2015 at 08:24:52PM +0200, Andreas Cadhalpun wrote:
>> The assert can be triggered by the h264 decoder:
>> mc_dir_part in libavcodec/h264_mb.c calls the 16 bit variant of
>> emulated_edge_mc and thus the assert is triggered due to the
>> sizeof(pixel) factor, even though block_w is smaller than buf_linesize.
>> If that's valid behavior of the h264 decoder, then the assert should
>> be removed, but if on the other hand this is a bug in the h264
>> decoder, then that should be fixed and the assert remain.
> just posted a patch which should fix these assertion failures

It fixes the assertion failures. Thanks!

Best regards,

More information about the ffmpeg-devel mailing list