aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_cuda.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2024-01-07 18:44:12 +0100
committerClément Bœsch <u@pkh.me>2024-01-10 23:33:02 +0100
commitaf509f995786e72e2f6438b61c004bfcc37515da (patch)
tree86a3145defbcd478d559f81c6be85552bedf65d5 /libavutil/hwcontext_cuda.c
parent21f7a814ea6403a504e40f358cc24f97ebdf3193 (diff)
downloadffmpeg-af509f995786e72e2f6438b61c004bfcc37515da.tar.gz
avcodec/proresenc_anatoliy: do not write into chroma reserved bitfields
The layout for the frame flags is as follow: chroma_format u(2) reserved u(2) interlace_mode u(2) reserved u(2) chroma_format has 2 allowed values: 0: reserved 1: reserved 2: 4:2:2 3: 4:4:4 interlace_mode has 3 allowed values: 0: progressive 1: tff 2: bff 3: reserved 0x80 is what we expect for "422 not interlaced", and the extra 0x2 from 0x82 is actually writing into the reserved bits.
Diffstat (limited to 'libavutil/hwcontext_cuda.c')
0 files changed, 0 insertions, 0 deletions