diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:06:48 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:06:48 +0000 |
commit | 67e9bb0d0b0964a3a2499daf7e81a7053da3a8be (patch) | |
tree | e475ea373efee5f10de66e42663d7fb55db87307 | |
parent | 27e084bd61c9aea372876bdc543732c2dc5e056a (diff) | |
download | ffmpeg-67e9bb0d0b0964a3a2499daf7e81a7053da3a8be.tar.gz |
fixed wav riff tag size
Originally committed as revision 95 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libav/wav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/wav.c b/libav/wav.c index c3a430df54..70a0e41b41 100644 --- a/libav/wav.c +++ b/libav/wav.c @@ -72,7 +72,7 @@ static int wav_write_trailer(AVFormatContext *s) /* update file size */ file_size = url_ftell(pb); url_fseek(pb, 4, SEEK_SET); - put_le32(pb, (UINT32)file_size); + put_le32(pb, (UINT32)(file_size - 8)); url_fseek(pb, file_size, SEEK_SET); put_flush_packet(pb); |