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:
@ -363,6 +363,7 @@ static struct tag *ffmpeg_tag(char *file)
|
|||||||
|
|
||||||
tag = tag_new();
|
tag = tag_new();
|
||||||
|
|
||||||
|
base.decoder = NULL;
|
||||||
base.tag = tag;
|
base.tag = tag;
|
||||||
ret = ffmpeg_helper(&input, ffmpeg_tag_internal, &base);
|
ret = ffmpeg_helper(&input, ffmpeg_tag_internal, &base);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user