summaryrefslogtreecommitdiff
path: root/libavcodec/tscc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r--libavcodec/tscc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index dc344a100a..e12b9a31fc 100644
--- a/libavcodec/tscc.c
+++ b/libavcodec/tscc.c
@@ -145,6 +145,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
c->height = avctx->height;
+ avcodec_get_frame_defaults(&c->pic);
// Needed if zlib unused or init aborted before inflateInit
memset(&(c->zstream), 0, sizeof(z_stream));
switch(avctx->bits_per_coded_sample){