]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/cinepakenc: drop coded_frame init
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 7 May 2014 15:54:48 +0000 (17:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 7 May 2014 15:54:48 +0000 (17:54 +0200)
Fixes const being lost warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cinepakenc.c

index 5b18dfd82bc3c9aa99a362c0939d68fbed6d341c..7c6972a7521bcdb6caacdbda9d22b14b011c94ee 100644 (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)