diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-18 17:29:52 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-20 06:52:07 +0100 |
commit | 713f3062a7284c72088f100788a130633f873a6e (patch) | |
tree | d18a8d78d1ff29f91c5f8f3d246edfe2ec9ae83d | |
parent | 791d6df4ae7334f5a68a2c1b82331848010b2d58 (diff) | |
download | ffmpeg-713f3062a7284c72088f100788a130633f873a6e.tar.gz |
id3v2: set the keyframe flag on attached pictures.
-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; |