summaryrefslogtreecommitdiff
path: root/libavformat/au.c
diff options
context:
space:
mode:
authorNathan Kurz <nate@verse.com>2004-10-15 22:06:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-15 22:06:46 +0000
commitecc2c0a46438d4cfc526d4b10529c0f3ce0e5b5d (patch)
tree0997ae110333809cfda0347e606f9de8bb56fc3d /libavformat/au.c
parent45cb4767bc5882c9ba95129cd2bfbeecc36228bb (diff)
set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3596 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/au.c')
-rw-r--r--libavformat/au.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/au.c b/libavformat/au.c
index c0780c73e2..6ce326f57a 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -163,6 +163,7 @@ static int au_read_packet(AVFormatContext *s,
if (av_new_packet(pkt, MAX_SIZE))
return AVERROR_IO;
pkt->stream_index = 0;
+ pkt->flags |= PKT_FLAG_KEY;
ret = get_buffer(&s->pb, pkt->data, pkt->size);
if (ret < 0)