summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-25 21:13:05 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 01:10:08 +0200
commit90c38612f8265d3751afa8d3f885023e472560c4 (patch)
treea3b63bcdf44e5d3f5c8a3b0c2d4f56c36c60d17d
parentda668fa7d24e54945b0cce4deb7ca026b5bd8301 (diff)
avcodec/gif: Remove redundant cast
Possible since 529a9893d769f381b72785c500662be2020da5fe. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 4904f791ef..8e84b79b8c 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -508,7 +508,7 @@ static int gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (!s->image) {
av_frame_unref(s->last_frame);
- ret = av_frame_ref(s->last_frame, (AVFrame*)pict);
+ ret = av_frame_ref(s->last_frame, pict);
if (ret < 0)
return ret;
}