Commit df47d245 authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

Make sure AVSubtitle is initialized, memset it to 0.

Originally committed as revision 19642 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment