diff options
author | Clément Bœsch <u@pkh.me> | 2023-12-11 19:47:14 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2024-01-10 23:33:02 +0100 |
commit | aa7ccd0ce902450c865c62ac160dd08a7b003eb3 (patch) | |
tree | 2d37a85e4bb419c05a097582332233eb076a4847 /libavutil/mastering_display_metadata.h | |
parent | 85cb1b9b203e04b7961983f85755d45fafadf189 (diff) | |
download | ffmpeg-aa7ccd0ce902450c865c62ac160dd08a7b003eb3.tar.gz |
avcodec/proresenc_kostya: use a compatible bitstream version
Quoting SMPTE RDD 36:2015:
A decoder shall abort if it encounters a bitstream with an unsupported
bitstream_version value. If 0, the value of the chroma_format syntax
element shall be 2 (4:2:2 sampling) and the value of the
alpha_channel_type element shall be 0 (no encoded alpha); if 1, any
permissible value may be used for those syntax elements.
So if we're not in 4:2:2 or if there is alpha, we are not allowed to use
version 0.
Diffstat (limited to 'libavutil/mastering_display_metadata.h')
0 files changed, 0 insertions, 0 deletions