Skip to content
Snippets Groups Projects
Commit 2c0454cd authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

Add missing initialization for AVProbeData.


This has become necessary since the new mime field was added.

Signed-off-by: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 9a162146
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -78,7 +78,7 @@ static void print_times(void)
int main(int argc, char **argv)
{
unsigned int p, i, type, size, retry;
AVProbeData pd;
AVProbeData pd = { 0 };
AVLFG state;
PutBitContext pb;
int retry_count= 4097;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment