summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9a1bd45303..1c68b3dade 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2923,6 +2923,7 @@ void dump_format(AVFormatContext *ic,
index,
is_output ? ic->oformat->name : ic->iformat->name,
is_output ? "to" : "from", url);
+ dump_metadata(NULL, ic->metadata, " ");
if (!is_output) {
av_log(NULL, AV_LOG_INFO, " Duration: ");
if (ic->duration != AV_NOPTS_VALUE) {
@@ -2975,7 +2976,6 @@ void dump_format(AVFormatContext *ic,
if (!printed[i])
dump_stream_format(ic, i, index, is_output);
- dump_metadata(NULL, ic->metadata, " ");
av_free(printed);
}