diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index a8273e282c1dd99fd39dd1625b9fdc8c9e74a87d..1c57dd9c431d46aad6c0d7e266efb54e3cf35687 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -1082,7 +1082,8 @@ 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;
-        av_dict_set(&st->metadata, "title",   apic->description, 0);
+        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);