[SCM] libav/experimental: In wav muxer, always flush in write_trailer, fix pipe output

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:12:56 UTC 2013


The following commit has been merged in the experimental branch:
commit f0187d20d1ab76eb42e9d2409d6a67e00ae84167
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Jul 28 08:17:02 2010 +0000

    In wav muxer, always flush in write_trailer, fix pipe output
    
    Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/wav.c b/libavformat/wav.c
index da08558..4c72bec 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);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list