[FFmpeg-cvslog] idcinvideo: correctly set AVFrame defaults
Justin Ruggles
git at videolan.org
Thu Jan 10 12:32:43 CET 2013
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Aug 1 15:46:08 2012 -0400| [f7bf72a4a1146a7583577c9bdc066767e1ba3c6a] | committer: Justin Ruggles
idcinvideo: correctly set AVFrame defaults
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7bf72a4a1146a7583577c9bdc066767e1ba3c6a
---
libavcodec/idcinvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
index 273eca6..05cd673 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;
}
More information about the ffmpeg-cvslog
mailing list