[FFmpeg-cvslog] smush: properly flag audio packets
Paul B Mahol
git at videolan.org
Sun Jul 8 23:06:37 CEST 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jul 8 20:47:34 2012 +0000| [30659a2233772f9dfcda3a9928b93bba00308687] | committer: Paul B Mahol
smush: properly flag audio packets
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=30659a2233772f9dfcda3a9928b93bba00308687
---
libavformat/smush.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/smush.c b/libavformat/smush.c
index d884cfe..79e2374 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);
More information about the ffmpeg-cvslog
mailing list