diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-08-01 15:46:08 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-09 14:49:06 -0500 |
commit | f7bf72a4a1146a7583577c9bdc066767e1ba3c6a (patch) | |
tree | d8a6378f40f17723fddae39909e6beed9731d881 | |
parent | 899157b30800bb986867235714f4eba353fead07 (diff) | |
download | ffmpeg-f7bf72a4a1146a7583577c9bdc066767e1ba3c6a.tar.gz |
idcinvideo: correctly set AVFrame defaults
-rw-r--r-- | libavcodec/idcinvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index 273eca60dd..05cd673faa 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -168,7 +168,7 @@ static av_cold int idcin_decode_init(AVCodecContext *avctx) huff_build_tree(s, i); } - s->frame.data[0] = NULL; + avcodec_get_frame_defaults(&s->frame); return 0; } |