Commit 4b69cd15 authored by michael's avatar michael

set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3596 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 378ed44b
......@@ -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