aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sbcdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-23 11:06:32 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-05 08:02:28 +0200
commitd1ba5d883ef95489fe59d035dd71105dc1184e84 (patch)
tree5e3cddaa264e2de0a1d530ce552a40851af50be0 /libavcodec/sbcdec.c
parentb62d41df07c627a677c69da139fd7e3710495a3a (diff)
downloadffmpeg-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 'libavcodec/sbcdec.c')
0 files changed, 0 insertions, 0 deletions