[FFmpeg-cvslog] avcodec/snowenc: Remove unused new_picture field

Michael Niedermayer git at videolan.org
Sun Sep 20 23:40:50 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Sep 20 22:52:33 2015 +0200| [55b803e33ede35318f6afeadbe13fbb082eaaf20] | committer: Michael Niedermayer

avcodec/snowenc: Remove unused new_picture field

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/snow.h    |    1 -
 libavcodec/snowenc.c |    1 -
 2 files changed, 2 deletions(-)

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){



More information about the ffmpeg-cvslog mailing list