diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2024-05-08 17:19:49 +0200 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2024-05-11 10:13:58 +0200 |
commit | b8af0809fbbf61ceeab6d88143f9c0bb4985029e (patch) | |
tree | 995054336a2e001ab2203222e2a9462314fb98b2 /libavformat/mgsts.c | |
parent | 713c6eba8dc7b4d9c592232ad9fad621b3fb4d50 (diff) | |
download | ffmpeg-b8af0809fbbf61ceeab6d88143f9c0bb4985029e.tar.gz |
libavcodec/mpegvideo_enc: fix multi-threaded motion estimation rounding for mpeg4
ff_init_me() was being called after ff_update_duplicate_context(),
which caused the propagation of the initialization to other thread
contexts to be delayed by one frame.
In the case of mpeg4 (or flipflop_rounding), this would make the
hpel_put functions differ between the first thread (which would be
correctly initialized) and the other threads (which would be stale
from the previous frame).
Diffstat (limited to 'libavformat/mgsts.c')
0 files changed, 0 insertions, 0 deletions