aboutsummaryrefslogtreecommitdiffstats
path: root/libav/wav.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-13 21:37:10 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-13 21:37:10 +0000
commit8be1c6563cd3e13896b8f3381cf6a8e200c1f53b (patch)
tree3f80373f11ddba48ee510969a2af3374e76c8b27 /libav/wav.c
parent519c2b6d1182513a83efee5b1e8634a7feaedbbf (diff)
downloadffmpeg-8be1c6563cd3e13896b8f3381cf6a8e200c1f53b.tar.gz
win32 fixes
Originally committed as revision 78 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/wav.c')
-rw-r--r--libav/wav.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libav/wav.c b/libav/wav.c
index 9f430bb2f6..c3a430df54 100644
--- a/libav/wav.c
+++ b/libav/wav.c
@@ -16,11 +16,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <errno.h>
#include "avformat.h"
#include "avi.h"
@@ -77,7 +72,7 @@ static int wav_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, (UINT32)file_size);
url_fseek(pb, file_size, SEEK_SET);
put_flush_packet(pb);
@@ -89,7 +84,7 @@ static int wav_write_trailer(AVFormatContext *s)
/* return the size of the found tag */
/* XXX: > 2GB ? */
-static int find_tag(ByteIOContext *pb, int tag1)
+static int find_tag(ByteIOContext *pb, UINT32 tag1)
{
unsigned int tag;
int size;