Commit 54ae5880 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/cinepakenc: drop coded_frame init

Fixes const being lost warning
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a6e9448d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment