4xm: remove avcodec_get_frame_defaults() calls
They are not needed anymore Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d73b65ed0e
commit
cfc7b9cfff
@ -949,8 +949,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
avcodec_get_frame_defaults(&f->current_picture);
|
||||
avcodec_get_frame_defaults(&f->last_picture);
|
||||
f->version = AV_RL32(avctx->extradata) >> 16;
|
||||
ff_dsputil_init(&f->dsp, avctx);
|
||||
f->avctx = avctx;
|
||||
|
Loading…
Reference in New Issue
Block a user