diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-08 20:47:34 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-08 20:49:35 +0000 |
commit | 30659a2233772f9dfcda3a9928b93bba00308687 (patch) | |
tree | 97aaf83c977dc51cafbe33dfd2af6ca56265f2ba | |
parent | 26fa84105b637ef10904278b266863dcdc104c33 (diff) | |
download | ffmpeg-30659a2233772f9dfcda3a9928b93bba00308687.tar.gz |
smush: properly flag audio packets
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/smush.c | 1 |
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); |