mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
asfdec: don't export empty metadata
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
8bf6db1b29
commit
5cbd3b5d91
@ -178,6 +178,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
|
||||
av_log(s, AV_LOG_DEBUG, "Unsupported value type %d in tag %s.\n", type, key);
|
||||
goto finish;
|
||||
}
|
||||
if (*value)
|
||||
av_metadata_set2(&s->metadata, key, value, 0);
|
||||
finish:
|
||||
av_freep(&value);
|
||||
|
Loading…
Reference in New Issue
Block a user