summaryrefslogtreecommitdiff
path: root/libavformat/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 50d8593ff3..a85e9d6665 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -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)