mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avcodec/cfhdenc: fix PrescaleTable for YUV422P10
This commit is contained in:
parent
08f60a35b4
commit
b4ae780693
@ -525,7 +525,7 @@ static int cfhd_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
bytestream2_put_be16(pby, avctx->pix_fmt == AV_PIX_FMT_YUV422P10 ? 10 : 12);
|
||||
|
||||
bytestream2_put_be16(pby, PrescaleTable);
|
||||
bytestream2_put_be16(pby, 0x2800);
|
||||
bytestream2_put_be16(pby, avctx->pix_fmt == AV_PIX_FMT_YUV422P10 ? 0x2000 : 0x2800);
|
||||
|
||||
bytestream2_put_be16(pby, SampleFlags);
|
||||
bytestream2_put_be16(pby, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user