Mercurial > libavformat.hg
changeset 3071:c4121744e2a7 libavformat
remove useless casts
author | bcoudurier |
---|---|
date | Mon, 25 Feb 2008 12:15:26 +0000 |
parents | f4d4687e5b1f |
children | 0e84da9b7183 |
files | aiff.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/aiff.c Mon Feb 25 12:14:15 2008 +0000 +++ b/aiff.c Mon Feb 25 12:15:26 2008 +0000 @@ -261,15 +261,15 @@ if (!url_is_streamed(s->pb)) { /* File length */ 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 */ 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 */ 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 */ url_fseek(pb, end_size, SEEK_SET);