提交 55b803e3 编写于 作者: M Michael Niedermayer

avcodec/snowenc: Remove unused new_picture field

Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册