avcodec/cinepakenc: drop coded_frame init

Fixes const being lost warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-07 17:54:48 +02:00
parent a6e9448dc6
commit 54ae58802e

View File

@ -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)