diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-18 20:29:52 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-20 09:52:07 +0400 |
commit | 713f3062a7284c72088f100788a130633f873a6e (patch) | |
tree | d18a8d78d1ff29f91c5f8f3d246edfe2ec9ae83d /libavformat/id3v2.c | |
parent | 791d6df4ae7334f5a68a2c1b82331848010b2d58 (diff) |
id3v2: set the keyframe flag on attached pictures.
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r-- | libavformat/id3v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 1f2c3d5437..13e5997259 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; |