mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
avcodec/cinepakenc: drop coded_frame init
Fixes const being lost warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a6e9448dc6
commit
54ae58802e
@ -1281,8 +1281,6 @@ static int cinepak_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
pkt->flags |= AV_PKT_FLAG_KEY;
|
||||
*got_packet = 1;
|
||||
|
||||
avctx->coded_frame = frame;
|
||||
|
||||
FFSWAP(AVFrame *, s->last_frame, s->best_frame);
|
||||
|
||||
if (++s->curframe >= s->keyint)
|
||||
|
Loading…
Reference in New Issue
Block a user