Commit b180d0b4 authored by Max Kellermann's avatar Max Kellermann

ffmpeg: initialize base.decoder

ffmpeg_tag() did not initialize base.decoder, which made valgrind unhappy, and can lead to a egmentation fault.
parent 4d72bda4
......@@ -363,6 +363,7 @@ static struct tag *ffmpeg_tag(char *file)
tag = tag_new();
base.decoder = NULL;
base.tag = tag;
ret = ffmpeg_helper(&input, ffmpeg_tag_internal, &base);
......
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