changeset 564:a9e04ea89942
libavformat
set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)
author |
michael |
date |
Fri, 15 Oct 2004 22:06:46 +0000 |
parents |
d141aa45ca86 |
children |
485a529adaee |
files |
au.c wav.c |
diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/au.c Wed Oct 13 23:58:28 2004 +0000
+++ b/au.c Fri Oct 15 22:06:46 2004 +0000
@@ -163,6 +163,7 @@
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)
--- a/wav.c Wed Oct 13 23:58:28 2004 +0000
+++ b/wav.c Fri Oct 15 22:06:46 2004 +0000
@@ -329,6 +329,7 @@
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)