Merge commit '379e5603f4131e677ecf5ba79973dcd5603f28ea'
* commit '379e5603f4131e677ecf5ba79973dcd5603f28ea': id3v2: Do not export empty APIC description Conflicts: libavformat/id3v2.c See: b697b297b77f73c932307120e32c187d521d2ff7 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1cf81a2c50
@ -1082,8 +1082,10 @@ int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta **extra_meta)
|
||||
st->disposition |= AV_DISPOSITION_ATTACHED_PIC;
|
||||
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
st->codec->codec_id = apic->id;
|
||||
|
||||
if (apic->description[0])
|
||||
av_dict_set(&st->metadata, "title", apic->description, 0);
|
||||
|
||||
av_dict_set(&st->metadata, "comment", apic->type, 0);
|
||||
|
||||
av_init_packet(&st->attached_pic);
|
||||
|
Loading…
x
Reference in New Issue
Block a user