Browse Source

In wav muxer, always flush in write_trailer, fix pipe output

Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
f0187d20d1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/wav.c

+ 2
- 0
libavformat/wav.c View File

@@ -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);



Loading…
Cancel
Save