[FFmpeg-cvslog] avcodec/mpeg4videodec: Sync sprite_warping_accuracy between threads

Andreas Rheinhardt git at videolan.org
Thu Oct 20 09:13:50 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Oct 12 18:10:11 2022 +0200| [e19d10645cf43e536c4116822e7736d1696ee378] | committer: Andreas Rheinhardt

avcodec/mpeg4videodec: Sync sprite_warping_accuracy between threads

It is set in the vol header and is therefore a sequence and
not only a picture property.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e19d10645cf43e536c4116822e7736d1696ee378
---

 libavcodec/mpeg4videodec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index dcf970af5a..aeb0d003ec 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -3705,6 +3705,7 @@ static int mpeg4_update_thread_context(AVCodecContext *dst,
     s->shape                     = s1->shape;
     s->vol_sprite_usage          = s1->vol_sprite_usage;
     s->sprite_brightness_change  = s1->sprite_brightness_change;
+    s->sprite_warping_accuracy   = s1->sprite_warping_accuracy;
     s->num_sprite_warping_points = s1->num_sprite_warping_points;
     s->m.data_partitioning       = s1->m.data_partitioning;
     s->rvlc                      = s1->rvlc;



More information about the ffmpeg-cvslog mailing list