Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-10-11 14:21:35 +0300
committerZane van Iperen <zane@zanevaniperen.com>2021-10-15 16:40:15 +0300
commit9a2b9aafba7a38087769e4a4b9248ca51d0bc494 (patch)
treea0c8bd8585e79831f316283f70c4ecfc673d39de /libavformat/argo_asf.c
parent20fa838da5a1cce23cb571781fc7fae4b18146ae (diff)
avformat/argo_asf: pass name through as metadata
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavformat/argo_asf.c')
-rw-r--r--libavformat/argo_asf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c
index acf30839b9..740680ece1 100644
--- a/libavformat/argo_asf.c
+++ b/libavformat/argo_asf.c
@@ -209,6 +209,8 @@ static int argo_asf_read_header(AVFormatContext *s)
ff_argo_asf_parse_chunk_header(&asf->ckhdr, buf);
+ av_dict_set(&s->metadata, "title", asf->fhdr.name, 0);
+
return ff_argo_asf_fill_stream(s, st, &asf->fhdr, &asf->ckhdr);
}