diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c index db872ce398..e31a825c2a 100644 --- a/libavformat/rtpdec_asf.c +++ b/libavformat/rtpdec_asf.c @@ -112,6 +112,7 @@ int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p) ret = av_open_input_stream(&rt->asf_ctx, &pb, "", &asf_demuxer, NULL); if (ret < 0) return ret; + av_metadata_copy(&s->metadata, rt->asf_ctx->metadata, 0); rt->asf_pb_pos = url_ftell(&pb); av_free(buf); rt->asf_ctx->pb = NULL;