From 55b803e33ede35318f6afeadbe13fbb082eaaf20 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 20 Sep 2015 22:52:33 +0200 Subject: [PATCH] avcodec/snowenc: Remove unused new_picture field Signed-off-by: Michael Niedermayer --- libavcodec/snow.h | 1 - libavcodec/snowenc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libavcodec/snow.h b/libavcodec/snow.h index a09b6221e4..bf744cf7bd 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -121,7 +121,6 @@ typedef struct SnowContext{ H264QpelContext h264qpel; MpegvideoEncDSPContext mpvencdsp; SnowDWTContext dwt; - const AVFrame *new_picture; AVFrame *input_picture; ///< new_picture with the internal linesizes AVFrame *current_picture; AVFrame *last_picture[MAX_REF_FRAMES]; diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 5e5dc35e86..99d888906f 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1584,7 +1584,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, } emms_c(); - s->new_picture = pict; s->m.picture_number= avctx->frame_number; if(avctx->flags&AV_CODEC_FLAG_PASS2){