mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 05:57:49 +02:00
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;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
avcodec_get_frame_defaults(&f->current_picture);
|
|
||||||
avcodec_get_frame_defaults(&f->last_picture);
|
|
||||||
f->version = AV_RL32(avctx->extradata) >> 16;
|
f->version = AV_RL32(avctx->extradata) >> 16;
|
||||||
ff_dsputil_init(&f->dsp, avctx);
|
ff_dsputil_init(&f->dsp, avctx);
|
||||||
f->avctx = avctx;
|
f->avctx = avctx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user