diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-08 18:51:59 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-08 18:51:59 +0000 |
commit | e643b32b1b37f6ad1b7bfc408eddcab74b077c5f (patch) | |
tree | e8916c67ea7901782cef7dcd27ec0d6e0d0a6adc /libav/avienc.c | |
parent | c10e9f70c0509ee17c5f339672550e610ff82a36 (diff) | |
download | ffmpeg-e643b32b1b37f6ad1b7bfc408eddcab74b077c5f.tar.gz |
fixed avi RIFF header size
Originally committed as revision 56 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avienc.c')
-rw-r--r-- | libav/avienc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/avienc.c b/libav/avienc.c index cef541d7ba..a580e53098 100644 --- a/libav/avienc.c +++ b/libav/avienc.c @@ -340,7 +340,7 @@ static int avi_write_trailer(AVFormatContext *s) /* update file size */ file_size = url_ftell(pb); url_fseek(pb, 4, SEEK_SET); - put_le32(pb, file_size); + put_le32(pb, file_size - 8); url_fseek(pb, file_size, SEEK_SET); } put_flush_packet(pb); |