[FFmpeg-devel] [PATCH 11/18] avcodec/vp8: Inline jobnr, threadnr for VP7

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Sep 10 04:07:22 EEST 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/vp8.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index ce824cec81..ee30fc2846 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2518,7 +2518,7 @@ static av_always_inline int decode_mb_row_no_filter(AVCodecContext *avctx, void
 static int vp7_decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata,
                                        int jobnr, int threadnr, int mb_y)
 {
-    return decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr, mb_y, 1);
+    return decode_mb_row_no_filter(avctx, tdata, 0, 0, mb_y, 1);
 }
 
 static int vp8_decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata,
@@ -2591,7 +2591,7 @@ static av_always_inline void filter_mb_row(AVCodecContext *avctx, void *tdata,
 static void vp7_filter_mb_row(AVCodecContext *avctx, void *tdata,
                               int jobnr, int threadnr, int mb_y)
 {
-    filter_mb_row(avctx, tdata, jobnr, threadnr, mb_y, 1);
+    filter_mb_row(avctx, tdata, 0, 0, mb_y, 1);
 }
 
 static void vp8_filter_mb_row(AVCodecContext *avctx, void *tdata,
@@ -2639,7 +2639,7 @@ int vp78_decode_mb_row_sliced(AVCodecContext *avctx, void *tdata, int jobnr,
 static int vp7_decode_mb_row_sliced(AVCodecContext *avctx, void *tdata,
                                     int jobnr, int threadnr)
 {
-    return vp78_decode_mb_row_sliced(avctx, tdata, jobnr, threadnr, IS_VP7);
+    return vp78_decode_mb_row_sliced(avctx, tdata, 0, 0, IS_VP7);
 }
 
 static int vp8_decode_mb_row_sliced(AVCodecContext *avctx, void *tdata,
-- 
2.34.1



More information about the ffmpeg-devel mailing list