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:
parent
4d72bda4c3
commit
b180d0b47f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue