From: Michael Niedermayer Date: Sun, 20 Sep 2015 20:52:33 +0000 (+0200) Subject: avcodec/snowenc: Remove unused new_picture field X-Git-Tag: n3.1-dev~2573 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/55b803e33ede35318f6afeadbe13fbb082eaaf20 avcodec/snowenc: Remove unused new_picture field Signed-off-by: Michael Niedermayer --- diff --git a/libavcodec/snow.h b/libavcodec/snow.h index a09b622..bf744cf 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 5e5dc35..99d8889 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){