diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-23 11:06:32 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-09-05 08:02:28 +0200 |
commit | d1ba5d883ef95489fe59d035dd71105dc1184e84 (patch) | |
tree | 5e3cddaa264e2de0a1d530ce552a40851af50be0 /tests | |
parent | b62d41df07c627a677c69da139fd7e3710495a3a (diff) | |
download | ffmpeg-d1ba5d883ef95489fe59d035dd71105dc1184e84.tar.gz |
lavc/dv: remove ff_dvvideo_init()
The function contains only two assignments, setting DVVideoContext.avctx
and AVCodecContext.chroma_sample_location. However, the decoder does not
use the former, and the encoder should not be setting the latter.
Therefore move the first assignment to dvenc and the second to dvdec.
Make the encoder warn if the user-signalled chroma sample location does
not match the supported one, and return an error on higher compliance
levels.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/lavf/mxf_dv25 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/lavf/mxf_dv25 b/tests/ref/lavf/mxf_dv25 index 5022f1f62d..95a58906a0 100644 --- a/tests/ref/lavf/mxf_dv25 +++ b/tests/ref/lavf/mxf_dv25 @@ -1,3 +1,3 @@ -3339def72599c79ad5860c6860cc3123 *tests/data/lavf/lavf.mxf_dv25 +59d632e097e6f45c28445b2ab862ffe8 *tests/data/lavf/lavf.mxf_dv25 3834413 tests/data/lavf/lavf.mxf_dv25 tests/data/lavf/lavf.mxf_dv25 CRC=0xbdaf7f52 |