summaryrefslogtreecommitdiff
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-23 11:09:09 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-05 08:06:35 +0200
commit91c51dac6d00fec9dca0dc137230f1ab24ab7077 (patch)
tree75098625b24c82241449e1172529b7641b8c4c9d /libavcodec/dvdec.c
parentd1ba5d883ef95489fe59d035dd71105dc1184e84 (diff)
downloadffmpeg-91c51dac6d00fec9dca0dc137230f1ab24ab7077.tar.gz
lavc/dv: do not pass DVVideoContext to ff_dv_init_dynamic_tables()
It only needs work_chunks from it, so pass that directly. This is done in preparation to splitting DVVideoContext.
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 87a321dd2e..63b1edd615 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -624,7 +624,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, AVFrame *frame,
}
if (sys != s->sys) {
- ret = ff_dv_init_dynamic_tables(s, sys);
+ ret = ff_dv_init_dynamic_tables(s->work_chunks, sys);
if (ret < 0) {
av_log(avctx, AV_LOG_ERROR, "Error initializing the work tables.\n");
return ret;