]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cscd.c
Add operand size to add instructions.
[ffmpeg] / libavcodec / cscd.c
index a3f6fbf022c8bca9a2e0c845a3e8b103205c2a98..9255503e05d4257e73e03774e9c14636c3289bb4 100644 (file)
@@ -231,6 +231,7 @@ static av_cold int decode_init(AVCodecContext *avctx) {
             return 1;
     }
     c->bpp = avctx->bits_per_coded_sample;
+    avcodec_get_frame_defaults(&c->pic);
     c->pic.data[0] = NULL;
     c->linelen = avctx->width * avctx->bits_per_coded_sample / 8;
     c->height = avctx->height;