diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-13 08:50:04 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 07:39:37 +0100 |
commit | 3b199d29cd597a3518136d78860e172060b9e83d (patch) | |
tree | dc28aebc7ea0629fb24103931c8bf7a97cfc54ef /libavcodec/ulti.c | |
parent | 759001c534287a96dc96d1e274665feb7059145d (diff) | |
download | ffmpeg-3b199d29cd597a3518136d78860e172060b9e83d.tar.gz |
lavc decoders: properly initialize AVFrame.
Diffstat (limited to 'libavcodec/ulti.c')
-rw-r--r-- | libavcodec/ulti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index e99c26725b..3825980cfb 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -53,6 +53,7 @@ static av_cold int ulti_decode_init(AVCodecContext *avctx) avctx->pix_fmt = AV_PIX_FMT_YUV410P; avctx->coded_frame = &s->frame; s->ulti_codebook = ulti_codebook; + avcodec_get_frame_defaults(&s->frame); return 0; } |