mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
avcodec/pngenc: Don't cast const away unnecessarily
Possible since 529a9893d7.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
7e41f95dce
commit
dd20ebb2ca
1 changed files with 1 additions and 1 deletions
|
|
@ -1056,7 +1056,7 @@ static int encode_apng(AVCodecContext *avctx, AVPacket *pkt,
|
|||
}
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue