[Ffmpeg-devel] Re: [PATCH] qt-faststart > 4gb files compliant

Steve Lhomme steve.lhomme
Thu Mar 23 10:39:36 CET 2006


Steve Lhomme wrote:
> This patch should be OK.
> 
> 
> ------------------------------------------------------------------------
> 
> Index: qt-faststart.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/qt-faststart.c,v
> retrieving revision 1.7
> diff -u -r1.7 qt-faststart.c
> --- qt-faststart.c	21 Mar 2006 00:18:30 -0000	1.7
> +++ qt-faststart.c	21 Mar 2006 09:48:36 -0000
> @@ -24,6 +24,11 @@
>  #include <stdlib.h>
>  #include <inttypes.h>
>  
> +#ifdef __MINGW32__
> +#define fseeko(x,y,z)  fseeko64(x,y,z)
> +#define ftello(x)      ftello64(x)
> +#endif
> +
>  #define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
>  #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \
>                    (((uint8_t*)(x))[1] << 16) | \
> 


What happened to that patch ? It works fine under MinGW and shouldn't 
interfere with any other compiler.





More information about the ffmpeg-devel mailing list