[FFmpeg-devel] [PATCH 2/3] avcodec/h264: error out on ff_h264_pred_weight_table() only if strict spec compliance is requested

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Apr 13 11:44:33 EEST 2019


2019-04-10 21:47 GMT+02:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2019-04-09 20:32 GMT+02:00, James Almer <jamrial at gmail.com>:
>> Fixes ticket #7174.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> This makes what's essentially a non spec compliant
>> stream decodable again with no visual artifacts, and
>> without reintroducing the risk of overflows.
>
> Your patch leads to bit-exact output with the reference
> decoder and old FFmpeg.

This is true for the original sample, the new sample
zNqp.h264 has bit-exact output with old FFmpeg
but not with your patch.

Carl Eugen


More information about the ffmpeg-devel mailing list