diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-11 19:55:26 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-11 21:10:22 +0200 |
commit | 2c0454cd208d1a7a955cc973df5de44c26166229 (patch) | |
tree | 7759e58ad25207716520372ee478518e515f0b5b /libavformat | |
parent | 9a162146ca6cc12ef7ad4a15164349482885962c (diff) | |
download | ffmpeg-2c0454cd208d1a7a955cc973df5de44c26166229.tar.gz |
Add missing initialization for AVProbeData.
This has become necessary since the new mime field was added.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/img2dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index d70fc75691..a82f50f5fa 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -308,7 +308,7 @@ int ff_img_read_header(AVFormatContext *s1) int probe_buffer_size = 2048; uint8_t *probe_buffer = av_realloc(NULL, probe_buffer_size + AVPROBE_PADDING_SIZE); AVInputFormat *fmt = NULL; - AVProbeData pd; + AVProbeData pd = { 0 }; if (!probe_buffer) return AVERROR(ENOMEM); |