[FFmpeg-cvslog] id3v2: set the keyframe flag on attached pictures.
Anton Khirnov
git at videolan.org
Wed Mar 21 02:34:59 CET 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Mar 18 17:29:52 2012 +0100| [713f3062a7284c72088f100788a130633f873a6e] | committer: Anton Khirnov
id3v2: set the keyframe flag on attached pictures.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=713f3062a7284c72088f100788a130633f873a6e
---
libavformat/id3v2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 1f2c3d5..13e5997 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;
More information about the ffmpeg-cvslog
mailing list