Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-09 00:47:34 +0400
committerPaul B Mahol <onemda@gmail.com>2012-07-09 00:49:35 +0400
commit30659a2233772f9dfcda3a9928b93bba00308687 (patch)
tree97aaf83c977dc51cafbe33dfd2af6ca56265f2ba /libavformat/smush.c
parent26fa84105b637ef10904278b266863dcdc104c33 (diff)
smush: properly flag audio packets
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/smush.c')
-rw-r--r--libavformat/smush.c1
1 files changed, 1 insertions, 0 deletions
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);