From: Justin Ruggles Date: Wed, 1 Aug 2012 20:08:28 +0000 (-0400) Subject: idcin: set AV_PKT_FLAG_KEY for video packets with a palette X-Git-Tag: android-x86-4.4-r1~364^2~2213 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=49543373f3e5871fe91e46b351d29e8f79441efc;p=android-x86%2Fexternal-ffmpeg.git idcin: set AV_PKT_FLAG_KEY for video packets with a palette --- diff --git a/libavformat/idcin.c b/libavformat/idcin.c index 697b97290b..122fd8ebe4 100644 --- a/libavformat/idcin.c +++ b/libavformat/idcin.c @@ -290,6 +290,7 @@ static int idcin_read_packet(AVFormatContext *s, if (ret < 0) return ret; memcpy(pal, palette, AVPALETTE_SIZE); + pkt->flags |= AV_PKT_FLAG_KEY; } pkt->stream_index = idcin->video_stream_index; pkt->duration = 1;