diff options
Diffstat (limited to 'libavcodec/yop.c')
-rw-r--r-- | libavcodec/yop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/yop.c b/libavcodec/yop.c index a117e2d791..45a3344b9e 100644 --- a/libavcodec/yop.c +++ b/libavcodec/yop.c @@ -92,6 +92,7 @@ static av_cold int yop_decode_init(AVCodecContext *avctx) avctx->pix_fmt = PIX_FMT_PAL8; + avcodec_get_frame_defaults(&s->frame); s->num_pal_colors = avctx->extradata[0]; s->first_color[0] = avctx->extradata[1]; s->first_color[1] = avctx->extradata[2]; |