diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-12 17:57:37 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-15 18:20:54 +0100 |
commit | bf4909f0a3ed0155343a64cd6611a6fe4ecd5c8d (patch) | |
tree | e9ff493ebf256fc2391bc7b0bccb8972f3234423 /libavcodec/mpegaudiodec_template.c | |
parent | e83f27a21a6d2f602b55e541ef66e365400e9827 (diff) | |
download | ffmpeg-bf4909f0a3ed0155343a64cd6611a6fe4ecd5c8d.tar.gz |
avformat/asfdec_o: Export metadata that applies to the whole file
The ASF specification of Metadata Objects' stream number is as follows:
"Specifies whether the entry applies to a specific digital media stream
or whether it applies to the whole file. A value of 0 in this field
indicates that it applies to the whole file; otherwise, the entry
applies only to the indicated stream number and must be between 1 and
127."
Yet the asf_o demuxer (the one originating from Libav) has always
treated such metadata as if it applied to a stream even though no stream
with a stream number may exist in a valid ASF file. This is fixed in
this commit; it affected e.g. the file
wma_with_metadata_library_object_tag_trimmed.wma from the FATE suite.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mpegaudiodec_template.c')
0 files changed, 0 insertions, 0 deletions