summaryrefslogtreecommitdiff
path: root/libavcodec/cscd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cscd.c')
-rw-r--r--libavcodec/cscd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c
index a3f6fbf022..9255503e05 100644
--- a/libavcodec/cscd.c
+++ b/libavcodec/cscd.c
@@ -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;