aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-19 20:04:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-07-03 20:35:31 +0200
commit77add26918fb4b6b68fc25fa797ef5a7f8510aaf (patch)
treed4e13392dba8451f14571c097d5ef8c7fd084afd /libavcodec/rv10.c
parentb2be342ab6689e6c1fb8fe84dcb19ffe897bb9e9 (diff)
downloadffmpeg-77add26918fb4b6b68fc25fa797ef5a7f8510aaf.tar.gz
avcodec/h263dec: Don't use MpegEncContext.block
Instead add the necessary blocks directly to H263DecContext (only six are needed, not 12 as ff_mpv_common_init() currently allocates). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index e6e3c4adc0..c678851ded 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -516,7 +516,7 @@ static int rv10_decode_packet(AVCodecContext *avctx, const uint8_t *buf,
}
if (h->c.pict_type != AV_PICTURE_TYPE_B)
ff_h263_update_motion_val(&h->c);
- ff_mpv_reconstruct_mb(&h->c, h->c.block);
+ ff_mpv_reconstruct_mb(&h->c, h->block);
if (h->c.loop_filter)
ff_h263_loop_filter(&h->c);