mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
Merge commit '885a9d6087315a85d98f7e89656ef01dc7104c4c'
* commit '885a9d6087315a85d98f7e89656ef01dc7104c4c': pgssub: Fix subpicture colorspace and range See 9779b6262471d553c1ed811ff7312564e39d8adf Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
475a686a01
@ -354,7 +354,7 @@ static int parse_palette_segment(AVCodecContext *avctx,
|
||||
cb = bytestream_get_byte(&buf);
|
||||
alpha = bytestream_get_byte(&buf);
|
||||
|
||||
/* Default to BT.709 colorimetry. In case of <= 576 height use BT.601 */
|
||||
/* Default to BT.709 colorspace. In case of <= 576 height use BT.601 */
|
||||
if (avctx->height <= 0 || avctx->height > 576) {
|
||||
YUV_TO_RGB1_CCIR_BT709(cb, cr);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user