projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e084b
)
fixed wav riff tag size
author
Fabrice Bellard
<fabrice@bellard.org>
Wed, 15 Aug 2001 13:06:48 +0000
(13:06 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Wed, 15 Aug 2001 13:06:48 +0000
(13:06 +0000)
Originally committed as revision 95 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/wav.c
patch
|
blob
|
history
diff --git
a/libav/wav.c
b/libav/wav.c
index
c3a430d
..
70a0e41
100644
(file)
--- 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);