mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08:00 
			
		
		
		
	#define fseeko/ftello to fseeko64/ftello64, fixes MinGW compilation.
patch by Steve Lhomme, steve.,.,.lhomme.,@,.free.,.,.fr Originally committed as revision 5230 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		 Steve L'Homme
					Steve L'Homme
				
			
				
					committed by
					
						 Diego Biurrun
						Diego Biurrun
					
				
			
			
				
	
			
			
			 Diego Biurrun
						Diego Biurrun
					
				
			
						parent
						
							b0519015f0
						
					
				
				
					commit
					a8fcaf4019
				
			| @@ -24,6 +24,11 @@ | |||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <inttypes.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_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) | ||||||
| #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \ | #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \ | ||||||
|                   (((uint8_t*)(x))[1] << 16) | \ |                   (((uint8_t*)(x))[1] << 16) | \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user