diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-13 21:37:10 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-13 21:37:10 +0000 |
commit | 8be1c6563cd3e13896b8f3381cf6a8e200c1f53b (patch) | |
tree | 3f80373f11ddba48ee510969a2af3374e76c8b27 /libav/ffm.c | |
parent | 519c2b6d1182513a83efee5b1e8634a7feaedbbf (diff) | |
download | ffmpeg-8be1c6563cd3e13896b8f3381cf6a8e200c1f53b.tar.gz |
win32 fixes
Originally committed as revision 78 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/ffm.c')
-rw-r--r-- | libav/ffm.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libav/ffm.c b/libav/ffm.c index 76e7613286..80f41ff0f0 100644 --- a/libav/ffm.c +++ b/libav/ffm.c @@ -16,13 +16,8 @@ * 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 <errno.h> -#include <string.h> -#include <unistd.h> - #include "avformat.h" +#include <unistd.h> /* The FFM file is made of blocks of fixed size */ #define FFM_HEADER_SIZE 14 @@ -345,7 +340,7 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap) if (!url_is_streamed(pb)) { ffm->file_size = url_filesize(url_fileno(pb)); } else { - ffm->file_size = (1ULL << 63) - 1; + ffm->file_size = (UINT64_C(1) << 63) - 1; } s->nb_streams = get_be32(pb); |