Commit ecc2c0a4 authored by Nathan Kurz's avatar Nathan Kurz Committed by Michael Niedermayer

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
parent 45cb4767
......@@ -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)
......
......@@ -329,6 +329,7 @@ static int wav_read_packet(AVFormatContext *s,
if (av_new_packet(pkt, 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment