diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-01 20:21:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-06-11 17:39:35 +0200 |
commit | e4e9e1da15a228688b97489b4e6d89d092a4229b (patch) | |
tree | 04a54cd8e73c19b20fa99c4c6952d278f4d42a49 /libavcodec/hevc/mvs.c | |
parent | b0c29a45dc3c42eb0c32eb78a850b3c3f581459c (diff) | |
download | ffmpeg-e4e9e1da15a228688b97489b4e6d89d092a4229b.tar.gz |
lavc/hevcdec: drop redundant HEVCContext.threads_{type,number}
They are useless duplicates of corresponding AVCodecContext fields.
Diffstat (limited to 'libavcodec/hevc/mvs.c')
-rw-r--r-- | libavcodec/hevc/mvs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc/mvs.c b/libavcodec/hevc/mvs.c index 3fd7be5b32..772fedceeb 100644 --- a/libavcodec/hevc/mvs.c +++ b/libavcodec/hevc/mvs.c @@ -248,7 +248,7 @@ static int temporal_luma_motion_vector(const HEVCContext *s, const HEVCSPS *sps, x < sps->width) { x &= ~15; y &= ~15; - if (s->threads_type == FF_THREAD_FRAME) + if (s->avctx->active_thread_type == FF_THREAD_FRAME) ff_progress_frame_await(&ref->tf, y); x_pu = x >> sps->log2_min_pu_size; y_pu = y >> sps->log2_min_pu_size; @@ -262,7 +262,7 @@ static int temporal_luma_motion_vector(const HEVCContext *s, const HEVCSPS *sps, y = y0 + (nPbH >> 1); x &= ~15; y &= ~15; - if (s->threads_type == FF_THREAD_FRAME) + if (s->avctx->active_thread_type == FF_THREAD_FRAME) ff_progress_frame_await(&ref->tf, y); x_pu = x >> sps->log2_min_pu_size; y_pu = y >> sps->log2_min_pu_size; |