summaryrefslogtreecommitdiff
path: root/libavcodec/cinepakenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-07 17:54:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-07 17:54:48 +0200
commit54ae58802e9829a8b62edcbea683fe89a8c6fcfa (patch)
treece78c096fe18c41ea47d632a89ed92313d52a388 /libavcodec/cinepakenc.c
parenta6e9448dc6971ba4e196656de3e6cd7bcac2cb8f (diff)
avcodec/cinepakenc: drop coded_frame init
Fixes const being lost warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cinepakenc.c')
-rw-r--r--libavcodec/cinepakenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index 5b18dfd82b..7c6972a752 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)