From f0187d20d1ab76eb42e9d2409d6a67e00ae84167 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Wed, 28 Jul 2010 08:17:02 +0000 Subject: In wav muxer, always flush in write_trailer, fix pipe output Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/wav.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/wav.c') diff --git a/libavformat/wav.c b/libavformat/wav.c index da08558c78..4c72bec8e9 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -95,6 +95,8 @@ static int wav_write_trailer(AVFormatContext *s) 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); -- cgit v1.2.3