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:
parent
45cb4767bc
commit
ecc2c0a464
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user