From 30659a2233772f9dfcda3a9928b93bba00308687 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 8 Jul 2012 20:47:34 +0000 Subject: [PATCH] smush: properly flag audio packets Signed-off-by: Paul B Mahol --- libavformat/smush.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/smush.c b/libavformat/smush.c index d884cfe9cd..79e23747c2 100644 --- a/libavformat/smush.c +++ b/libavformat/smush.c @@ -213,6 +213,7 @@ static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt) return AVERROR(EIO); pkt->stream_index = smush->audio_stream_index; + pkt->flags |= AV_PKT_FLAG_KEY; pkt->duration = AV_RB32(pkt->data); if (pkt->duration == 0xFFFFFFFFu) pkt->duration = AV_RB32(pkt->data + 8);