diff mbox series

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

Message ID AS8P250MB0744937C852BA00F440496E28F429@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State New
Headers show
Series [FFmpeg-devel,01/18] avcodec/vp8: Disable segmentation for VP7 | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 10, 2022, 1:07 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/vp8.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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,