1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/gif: Remove redundant cast

Possible since 529a9893d7.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-07-25 21:13:05 +02:00
parent da668fa7d2
commit 90c38612f8

View File

@ -508,7 +508,7 @@ static int gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (!s->image) { if (!s->image) {
av_frame_unref(s->last_frame); 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) if (ret < 0)
return ret; return ret;
} }