[FFmpeg-cvslog] avcodec/cinepakenc: drop coded_frame init

Michael Niedermayer git at videolan.org
Wed May 7 18:20:18 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  7 17:54:48 2014 +0200| [54ae58802e9829a8b62edcbea683fe89a8c6fcfa] | committer: Michael Niedermayer

avcodec/cinepakenc: drop coded_frame init

Fixes const being lost warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54ae58802e9829a8b62edcbea683fe89a8c6fcfa
---

 libavcodec/cinepakenc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index 5b18dfd..7c6972a 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -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)



More information about the ffmpeg-cvslog mailing list