Browse Source

avcodec/snowenc: Remove unused new_picture field

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
55b803e33e
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      libavcodec/snow.h
  2. +0
    -1
      libavcodec/snowenc.c

+ 0
- 1
libavcodec/snow.h View 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];


+ 0
- 1
libavcodec/snowenc.c View 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){


Loading…
Cancel
Save