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

Mike Melanson mike
Thu Mar 23 17:15:17 CET 2006


Michael Niedermayer wrote:
> Hi
> 
> On Thu, Mar 23, 2006 at 10:39:36AM +0100, Steve Lhomme wrote:
> 
>>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.
> 
> 
> qt-faststart.c maintainer: Mike Melanson

	I lost track of the argument/discussion regarding Windows 
functionality. Does the patch work on Windows and Linux? If so, commit it.

	Thanks...
-- 
	-Mike Melanson





More information about the ffmpeg-devel mailing list