diff options
Diffstat (limited to 'libavcodec/cinepak.c')
-rw-r--r-- | libavcodec/cinepak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 0c5d5b0f0d..e0c527cd05 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -414,7 +414,7 @@ static av_cold int cinepak_decode_init(AVCodecContext *avctx) avctx->pix_fmt = AV_PIX_FMT_PAL8; } - s->frame.data[0] = NULL; + avcodec_get_frame_defaults(&s->frame); return 0; } |