aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests/dct.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-04-03 17:20:09 +0200
committerNiklas Haas <git@haasn.dev>2024-04-22 12:17:05 +0200
commitdbfd979c1b7f08d7309d227165812226755cc41c (patch)
tree5127dbbc0e257c2667715cc9608215164871bb46 /libavcodec/tests/dct.c
parentfc616de1a53d98e5f6c4c7eba9835e33505e1dac (diff)
downloadffmpeg-dbfd979c1b7f08d7309d227165812226755cc41c.tar.gz
avcodec/dovi_rpu: clarify error on missing RPU VDR
The code was written under the misguided assumption that these fields would only be present when the value changes, however this does not match the actual patent specification, which says that streams are required to either always signal this metadata, or never signal it. That said, the specification does not really clarify what the defaults of these fields should be in the event that this metadata is missing, so without any sample file or other reference I don't wish to hazard a guess at how to interpret these fields. Fix the current behavior by making sure we always throw this error, even for files that have the vdr sequence info in one frame but are missing it in the next frame.
Diffstat (limited to 'libavcodec/tests/dct.c')
0 files changed, 0 insertions, 0 deletions