changeset 6334:67c36f475c54 libavformat

In wav muxer, always flush in write_trailer, fix pipe output
author bcoudurier
date Wed, 28 Jul 2010 08:17:02 +0000
parents f5fec1ab4925
children 5d04171d705b
files wav.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wav.c	Wed Jul 28 08:06:52 2010 +0000
+++ b/wav.c	Wed Jul 28 08:17:02 2010 +0000
@@ -95,6 +95,8 @@
     WAVContext    *wav = s->priv_data;
     int64_t file_size;
 
+    put_flush_packet(pb);
+
     if (!url_is_streamed(s->pb)) {
         ff_end_tag(pb, wav->data);