summaryrefslogtreecommitdiffstats
path: root/libavcodec/flicvideo.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-13 08:50:04 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-08 07:39:37 +0100
commit3b199d29cd597a3518136d78860e172060b9e83d (patch)
treedc28aebc7ea0629fb24103931c8bf7a97cfc54ef /libavcodec/flicvideo.c
parent759001c534287a96dc96d1e274665feb7059145d (diff)
downloadffmpeg-streaming-3b199d29cd597a3518136d78860e172060b9e83d.zip
ffmpeg-streaming-3b199d29cd597a3518136d78860e172060b9e83d.tar.gz
lavc decoders: properly initialize AVFrame.
Diffstat (limited to 'libavcodec/flicvideo.c')
-rw-r--r--libavcodec/flicvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c
index 2588619..3d43e5e 100644
--- a/libavcodec/flicvideo.c
+++ b/libavcodec/flicvideo.c
@@ -123,7 +123,7 @@ static av_cold int flic_decode_init(AVCodecContext *avctx)
return AVERROR_INVALIDDATA;
}
- s->frame.data[0] = NULL;
+ avcodec_get_frame_defaults(&s->frame);
s->new_palette = 0;
return 0;
OpenPOWER on IntegriCloud