avcodec/snowenc: Remove unused new_picture field
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Sep 2015 20:52:33 +0000 (22:52 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Sep 2015 21:26:39 +0000 (23:26 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snow.h
libavcodec/snowenc.c

index a09b622..bf744cf 100644 (file)
@@ -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];
index 5e5dc35..99d8889 100644 (file)
@@ -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){