From 713f3062a7284c72088f100788a130633f873a6e Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Sun, 18 Mar 2012 17:29:52 +0100
Subject: [PATCH] id3v2: set the keyframe flag on attached pictures.

---
 libavformat/id3v2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 1f2c3d54376..13e59972594 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -724,6 +724,7 @@ int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta **extra_meta)
         st->attached_pic.size         = apic->len;
         st->attached_pic.destruct     = av_destruct_packet;
         st->attached_pic.stream_index = st->index;
+        st->attached_pic.flags       |= AV_PKT_FLAG_KEY;
 
         apic->data = NULL;
         apic->len  = 0;
-- 
GitLab