diff options
author | Nuo Mi <nuomi2021@gmail.com> | 2024-11-10 14:20:24 +0800 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-11-11 19:30:09 +0800 |
commit | c49001e338feb9d8537bb00de33b2a5725ea6028 (patch) | |
tree | a259796079542c99d6995f03834328cd83e00bbe /tests/ref/pixfmt/gbrp12-x2rgb10le | |
parent | 96d45c3b212689f82bff2530c3637405df9e9369 (diff) | |
download | ffmpeg-c49001e338feb9d8537bb00de33b2a5725ea6028.tar.gz |
avcodec/cbs_h266: Fix regression in DVB clip introduced by 93281630a71c06642adfebebb0d4b105a4e02e91
This commit introduced a regression to VVC_HDR_UHDTV1_OpenGOP_3840x2160_50fps_HLG10_mosaic.ts.
Root Cause:
The AV_CEIL_RSHIFT(a, b) macro uses bit tricks that work only when -a is a negative value.
However, due to integer promotion rules, this behavior does not extend to the unsigned int type.
See "6.3.1.1 Boolean, characters, and integers" in the "ISO/IEC 9899" for details.
Reported-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'tests/ref/pixfmt/gbrp12-x2rgb10le')
0 files changed, 0 insertions, 0 deletions