mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
ffv1: set internal frame defaults
Another fix missed before the vsrc_buffer changes.
This commit is contained in:
parent
b9e608492a
commit
4737a59373
@ -725,6 +725,8 @@ static av_cold int common_init(AVCodecContext *avctx){
|
|||||||
s->avctx= avctx;
|
s->avctx= avctx;
|
||||||
s->flags= avctx->flags;
|
s->flags= avctx->flags;
|
||||||
|
|
||||||
|
avcodec_get_frame_defaults(&s->picture);
|
||||||
|
|
||||||
dsputil_init(&s->dsp, avctx);
|
dsputil_init(&s->dsp, avctx);
|
||||||
|
|
||||||
s->width = avctx->width;
|
s->width = avctx->width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user