diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2025-08-12 05:35:09 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2025-08-14 00:08:10 +0000 |
commit | d3375101fe2a6cf11dc763899d9eca1475f4be59 (patch) | |
tree | 7a487ceea2ff3148ff56da9552935e921234990e | |
parent | 218ef98ea322ee017a82ec9543ee8b88a99d46cc (diff) | |
download | ffmpeg-d3375101fe2a6cf11dc763899d9eca1475f4be59.tar.gz |
avcodec/vp8: remove set, but never used variable
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
-rw-r--r-- | libavcodec/vp8.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 0ae50b1d7d..9010e19e6b 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -2522,7 +2522,6 @@ static av_always_inline void filter_mb_row(AVCodecContext *avctx, void *tdata, VP8ThreadData *td = &s->thread_data[threadnr]; int mb_x, mb_y = atomic_load(&td->thread_mb_pos) >> 16, num_jobs = s->num_jobs; AVFrame *curframe = s->curframe->tf.f; - VP8Macroblock *mb; VP8ThreadData *prev_td, *next_td; uint8_t *dst[3] = { curframe->data[0] + 16 * mb_y * s->linesize, @@ -2530,11 +2529,6 @@ static av_always_inline void filter_mb_row(AVCodecContext *avctx, void *tdata, curframe->data[2] + 8 * mb_y * s->uvlinesize }; - if (s->mb_layout == 1) - mb = s->macroblocks_base + ((s->mb_width + 1) * (mb_y + 1) + 1); - else - mb = s->macroblocks + (s->mb_height - mb_y - 1) * 2; - if (mb_y == 0) prev_td = td; else @@ -2544,7 +2538,7 @@ static av_always_inline void filter_mb_row(AVCodecContext *avctx, void *tdata, else next_td = &s->thread_data[(jobnr + 1) % num_jobs]; - for (mb_x = 0; mb_x < s->mb_width; mb_x++, mb++) { + for (mb_x = 0; mb_x < s->mb_width; mb_x++) { const VP8FilterStrength *f = &td->filter_strength[mb_x]; if (prev_td != td) check_thread_pos(td, prev_td, |