1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

ffv1: set internal frame defaults

Another fix missed before the vsrc_buffer changes.
This commit is contained in:
Stefano Sabatini
2011-05-08 19:26:22 +02:00
parent b9e608492a
commit 4737a59373

View File

@@ -725,6 +725,8 @@ static av_cold int common_init(AVCodecContext *avctx){
s->avctx= avctx;
s->flags= avctx->flags;
avcodec_get_frame_defaults(&s->picture);
dsputil_init(&s->dsp, avctx);
s->width = avctx->width;