summaryrefslogtreecommitdiffstats
path: root/libavformat/sbgdec.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-11-06 21:14:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-06 21:46:22 +0100
commite9b8523d52ca84d5012168db24fec2d50e73cf22 (patch)
treee4ddb83ba65b4d413c8482d9e0374ea9dd4e12f8 /libavformat/sbgdec.c
parent44e9d7f182bb3b6b4982f3243634c4a4a3d2b51d (diff)
downloadffmpeg-streaming-e9b8523d52ca84d5012168db24fec2d50e73cf22.zip
ffmpeg-streaming-e9b8523d52ca84d5012168db24fec2d50e73cf22.tar.gz
sbgdec: dont set slide to a uninitialized value
Fixed CID703833 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/sbgdec.c')
-rw-r--r--libavformat/sbgdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index 93c8cb3..c0987a1 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -488,7 +488,7 @@ static int parse_timestamp(struct sbg_parser *p,
static int parse_fade(struct sbg_parser *p, struct sbg_fade *fr)
{
- struct sbg_fade f;
+ struct sbg_fade f = {0};
if (lex_char(p, '<'))
f.in = SBG_FADE_SILENCE;
OpenPOWER on IntegriCloud