aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-08-01 15:46:08 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-09 14:49:06 -0500
commitf7bf72a4a1146a7583577c9bdc066767e1ba3c6a (patch)
treed8a6378f40f17723fddae39909e6beed9731d881
parent899157b30800bb986867235714f4eba353fead07 (diff)
downloadffmpeg-f7bf72a4a1146a7583577c9bdc066767e1ba3c6a.tar.gz
idcinvideo: correctly set AVFrame defaults
-rw-r--r--libavcodec/idcinvideo.c2
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;
}