avcodec/gif: Remove redundant cast

Possible since 529a9893d7.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 2 years ago
parent da668fa7d2
commit 90c38612f8
  1. 2
      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;
}

Loading…
Cancel
Save