提交 df47d245 编写于 作者: R Reimar Döffinger

Make sure AVSubtitle is initialized, memset it to 0.

Originally committed as revision 19642 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 266649a5
......@@ -53,6 +53,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
int w, h, x, y, rlelen, i;
GetBitContext gb;
memset(sub, 0, sizeof(*sub));
sub->format = 0;
// check that at least header fits
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册