diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-23 11:09:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-09-05 08:06:57 +0200 |
commit | 69bad628ec37dc75813ae015df7ce4022d002d9a (patch) | |
tree | 9f2d00151a5f5c221a92fddf755468dfaa174362 /libavcodec/dvenc.c | |
parent | 91c51dac6d00fec9dca0dc137230f1ab24ab7077 (diff) |
lavc/dv: do not pass DVVideoContext to dv_calculate_mb_xy()
Pass the two variables needed from it directly.
This is done in preparation to splitting DVVideoContext.
Diffstat (limited to 'libavcodec/dvenc.c')
-rw-r--r-- | libavcodec/dvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c index 35a7f06f24..3560d3613f 100644 --- a/libavcodec/dvenc.c +++ b/libavcodec/dvenc.c @@ -873,7 +873,7 @@ static int dv_encode_video_segment(AVCodecContext *avctx, void *arg) p = dif = &s->buf[work_chunk->buf_offset * 80]; enc_blk = &enc_blks[0]; for (mb_index = 0; mb_index < 5; mb_index++) { - dv_calculate_mb_xy(s, work_chunk, mb_index, &mb_x, &mb_y); + dv_calculate_mb_xy(s->sys, s->buf, work_chunk, mb_index, &mb_x, &mb_y); qnos[mb_index] = DV_PROFILE_IS_HD(s->sys) ? 1 : 15; |