ffmpeg: initialize base.decoder

ffmpeg_tag() did not initialize base.decoder, which made valgrind
unhappy, and can lead to a egmentation fault.
This commit is contained in:
Max Kellermann 2008-10-30 18:08:52 +01:00
parent 4d72bda4c3
commit b180d0b47f
1 changed files with 1 additions and 0 deletions

View File

@ -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);