summaryrefslogtreecommitdiff
path: root/libavcodec/bfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r--libavcodec/bfi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c
index e0b0c68e8b..9e40b86e50 100644
--- a/libavcodec/bfi.c
+++ b/libavcodec/bfi.c
@@ -41,6 +41,7 @@ static av_cold int bfi_decode_init(AVCodecContext * avctx)
{
BFIContext *bfi = avctx->priv_data;
avctx->pix_fmt = PIX_FMT_PAL8;
+ avcodec_get_frame_defaults(&bfi->frame);
bfi->dst = av_mallocz(avctx->width * avctx->height);
return 0;
}