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/msrle.c | |
parent | 759001c534287a96dc96d1e274665feb7059145d (diff) | |
download | ffmpeg-3b199d29cd597a3518136d78860e172060b9e83d.tar.gz |
lavc decoders: properly initialize AVFrame.
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 24fa523363..fe6819cc18 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -66,7 +66,7 @@ static av_cold int msrle_decode_init(AVCodecContext *avctx) return AVERROR_INVALIDDATA; } - s->frame.data[0] = NULL; + avcodec_get_frame_defaults(&s->frame); return 0; } |