diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 16:50:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-27 23:49:50 +0100 |
commit | 2f77894cccec8dcba47b5217da9b51273c24fbbb (patch) | |
tree | f9c524499dfbbe772bd52b0a57ad5b68e1f2b852 /libavcodec/hevc_mvs.c | |
parent | c1882e801d6492565951c19ba520c8a2bd8735e8 (diff) | |
download | ffmpeg-2f77894cccec8dcba47b5217da9b51273c24fbbb.tar.gz |
hevc: better mt implementation
Signed-off-by: Mickaƫl Raulet <mraulet@insa-rennes.fr>
(cherry picked from commit 93afb8c519deca85b3c97804927de5b016dd32d1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_mvs.c')
-rw-r--r-- | libavcodec/hevc_mvs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_mvs.c b/libavcodec/hevc_mvs.c index c6e229f7b6..d26de514a0 100644 --- a/libavcodec/hevc_mvs.c +++ b/libavcodec/hevc_mvs.c @@ -268,7 +268,7 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0, y = y0 + nPbH; if (s->threads_type == FF_THREAD_FRAME ) - ff_thread_await_progress(&ref->tf, INT_MAX, 0); + ff_thread_await_progress(&ref->tf, y, 0); if (tab_mvf && (y0 >> s->sps->log2_ctb_size) == (y >> s->sps->log2_ctb_size) && y < s->sps->height && |