Commit 74cafb3e authored by bcoudurier's avatar bcoudurier

cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 488d3e95
...@@ -261,15 +261,15 @@ static int aiff_write_trailer(AVFormatContext *s) ...@@ -261,15 +261,15 @@ static int aiff_write_trailer(AVFormatContext *s)
if (!url_is_streamed(s->pb)) { if (!url_is_streamed(s->pb)) {
/* File length */ /* File length */
url_fseek(pb, aiff->form, SEEK_SET); url_fseek(pb, aiff->form, SEEK_SET);
put_be32(pb, (uint32_t)(file_size - aiff->form - 4)); put_be32(pb, file_size - aiff->form - 4);
/* Number of sample frames */ /* Number of sample frames */
url_fseek(pb, aiff->frames, SEEK_SET); url_fseek(pb, aiff->frames, SEEK_SET);
put_be32(pb, ((uint32_t)(file_size-aiff->ssnd-12))/enc->block_align); put_be32(pb, (file_size-aiff->ssnd-12)/enc->block_align);
/* Sound Data chunk size */ /* Sound Data chunk size */
url_fseek(pb, aiff->ssnd, SEEK_SET); url_fseek(pb, aiff->ssnd, SEEK_SET);
put_be32(pb, (uint32_t)(file_size - aiff->ssnd - 4)); put_be32(pb, file_size - aiff->ssnd - 4);
/* return to the end */ /* return to the end */
url_fseek(pb, end_size, SEEK_SET); url_fseek(pb, end_size, SEEK_SET);
......
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