Commit 1ec66d11 authored by glantau's avatar glantau

fixed avi RIFF header size


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@56 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5d8c4867
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment