diff mbox series

[FFmpeg-devel,1/2] avcodec/svq3: Remove unused function parameter

Message ID HE1PR0301MB21542078587E4EF9B38110C48F4D9@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit ef02cf829082686442c4c9d594651a5d34f703ef
Headers show
Series [FFmpeg-devel,1/2] avcodec/svq3: Remove unused function parameter
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt April 15, 2021, 6:41 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/svq3.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index edc8aeacc6..0d108da06f 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1319,7 +1319,7 @@  static av_cold int svq3_decode_init(AVCodecContext *avctx)
     return 0;
 }
 
-static void free_picture(AVCodecContext *avctx, SVQ3Frame *pic)
+static void free_picture(SVQ3Frame *pic)
 {
     int i;
     for (i = 0; i < 2; i++) {
@@ -1371,7 +1371,7 @@  static int get_buffer(AVCodecContext *avctx, SVQ3Frame *pic)
 
     return 0;
 fail:
-    free_picture(avctx, pic);
+    free_picture(pic);
     return ret;
 }
 
@@ -1587,9 +1587,9 @@  static av_cold int svq3_decode_end(AVCodecContext *avctx)
 {
     SVQ3Context *s = avctx->priv_data;
 
-    free_picture(avctx, s->cur_pic);
-    free_picture(avctx, s->next_pic);
-    free_picture(avctx, s->last_pic);
+    free_picture(s->cur_pic);
+    free_picture(s->next_pic);
+    free_picture(s->last_pic);
     av_frame_free(&s->cur_pic->f);
     av_frame_free(&s->next_pic->f);
     av_frame_free(&s->last_pic->f);