Browse Source

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
tags/v0.5
Nathan Kurz Michael Niedermayer 21 years ago
parent
commit
ecc2c0a464
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavformat/au.c
  2. +1
    -0
      libavformat/wav.c

+ 1
- 0
libavformat/au.c 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)


+ 1
- 0
libavformat/wav.c 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)


Loading…
Cancel
Save