[FFmpeg-cvslog] r12201 - trunk/libavformat/aiff.c
bcoudurier
subversion
Mon Feb 25 13:15:26 CET 2008
Author: bcoudurier
Date: Mon Feb 25 13:15:26 2008
New Revision: 12201
Log:
cosmetics
Modified:
trunk/libavformat/aiff.c
Modified: trunk/libavformat/aiff.c
==============================================================================
--- trunk/libavformat/aiff.c (original)
+++ trunk/libavformat/aiff.c Mon Feb 25 13:15:26 2008
@@ -261,15 +261,15 @@ static int aiff_write_trailer(AVFormatCo
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);
More information about the ffmpeg-cvslog
mailing list