1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Nathan Kurz 2004-10-15 22:06:46 +00:00 committed by Michael Niedermayer
parent 45cb4767bc
commit ecc2c0a464
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)