aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aiff.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-25 12:15:26 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-25 12:15:26 +0000
commitc6f5381215c8292423a1314202d298d905a98ed4 (patch)
tree1bb0fb5d45644b533ee504b41ecbc687315e53ff /libavformat/aiff.c
parent9df21f24e1bc1de435861ec701e54d32d8390e40 (diff)
downloadffmpeg-c6f5381215c8292423a1314202d298d905a98ed4.tar.gz
remove useless casts
Originally committed as revision 12201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aiff.c')
-rw-r--r--libavformat/aiff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c
index 1711de9ba9..027b28b191 100644
--- a/libavformat/aiff.c
+++ b/libavformat/aiff.c
@@ -261,15 +261,15 @@ static int aiff_write_trailer(AVFormatContext *s)
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);