avcodec/snowenc: Remove unused new_picture field

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/151/head
Michael Niedermayer 9 years ago
parent 77367f61b3
commit 55b803e33e
  1. 1
      libavcodec/snow.h
  2. 1
      libavcodec/snowenc.c

@ -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];

@ -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