aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-08 19:26:22 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-08 19:27:57 +0200
commit4737a59373318cf47994c4b4e250a064d95f3088 (patch)
treed1284babc55e9e6abc75bd630d2a7930870429b9
parentb9e608492a1458ae3376e8aeacfeca6a3452a6ff (diff)
downloadffmpeg-4737a59373318cf47994c4b4e250a064d95f3088.tar.gz
ffv1: set internal frame defaults
Another fix missed before the vsrc_buffer changes.
-rw-r--r--libavcodec/ffv1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 814b087c99..16a9d5d0b9 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -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;