Commit 55b803e3 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/snowenc: Remove unused new_picture field

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 77367f61
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment