[FFmpeg-devel] vf_blend : use av_clip_uintp2 instead of av_clip for 10b and 12b

Paul B Mahol onemda at gmail.com
Sat Nov 17 18:41:53 EET 2018


On 11/17/18, Paul B Mahol <onemda at gmail.com> wrote:
> On 11/17/18, Martin Vignali <martin.vignali at gmail.com> wrote:
>> Hello,
>>
>> Patch in attach fix make fate-source error in vf_blend
>>
>> Untested
>
> I tried that approach and compiler miscompiles code for 8 < bitdpeth < 16.
>

Actually, bug happens because of unsigned integer overflow.
Dunno why it does not happen for 8 and 16 case.


More information about the ffmpeg-devel mailing list