]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/svq3: Remove unused function parameter
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 15 Apr 2021 14:36:15 +0000 (16:36 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 26 Apr 2021 19:15:33 +0000 (21:15 +0200)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/svq3.c

index edc8aeacc60002d0b99e6d5fe09732f1548c78ff..0d108da06f210ca05f46b20a9a9efbd77f9a5a9e 100644 (file)
@@ -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);