diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-28 08:17:02 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-28 08:17:02 +0000 |
commit | f0187d20d1ab76eb42e9d2409d6a67e00ae84167 (patch) | |
tree | 17b9f07002fee9bd7bb194e6e037b4584cc3f8dd /libavformat | |
parent | ff58de29f1361789b6fc9c35a633e9e706172e09 (diff) | |
download | ffmpeg-f0187d20d1ab76eb42e9d2409d6a67e00ae84167.tar.gz |
In wav muxer, always flush in write_trailer, fix pipe output
Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/wav.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |