mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Make sure AVSubtitle is initialized, memset it to 0.
Originally committed as revision 19642 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
266649a52f
commit
df47d24501
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user