Mans Rullgard
							
						 | 
						
							
							
							
								
							
								d0989bed22
								
							
								
							
						 | 
						
							
							
								
								Fix error check in av_file_map()
							
							
							
							
							
							
								
							
							
							On failure, mmap() returns MAP_FAILED, which may or may not be -1.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 | 
						14 years ago | 
					
				
					
						
							
							
								   Reimar Döffinger
							
						 | 
						
							
							
							
								
							
								314374e579
								
							
								
							
						 | 
						
							
							
								
								Use MAP_FAILED to check for mmap failure instead of manually
							
							
							
							
							
							
								
							
							
							recreating the value. 
							
						 | 
						14 years ago | 
					
				
					
						
							
							
								   Michael Niedermayer
							
						 | 
						
							
							
							
								
							
								10ff2967ea
								
							
								
							
						 | 
						
							
							
								
								file: Fix mmap error check.
							
							
							
							
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 | 
						14 years ago | 
					
				
					
						
							
							
								   Anton Khirnov
							
						 | 
						
							
							
							
								
							
								490a022d86
								
							
								
							
						 | 
						
							
							
								
								lavu: remove misc disabled cruft
							
							
							
							
								
							
							
						 | 
						14 years ago | 
					
				
					
						
							
							
								   Mans Rullgard
							
						 | 
						
							
							
							
								
							
								2912e87a6c
								
							
								
							
						 | 
						
							
							
								
								Replace FFmpeg with Libav in licence headers
							
							
							
							
							
							
								
							
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 | 
						14 years ago | 
					
				
					
						
							
							
								   Daniel Verkamp
							
						 | 
						
							
							
							
								
							
								73f6d31e6c
								
							
								
							
						 | 
						
							
							
								
								Win32 support for av_file_map()
							
							
							
							
							
							
								
							
							
							Originally committed as revision 26221 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 | 
						15 years ago | 
					
				
					
						
							
							
								   Stefano Sabatini
							
						 | 
						
							
							
							
								
							
								f02cbc4590
								
							
								
							
						 | 
						
							
							
								
								Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).
							
							
							
							
							
							
								
							
							
							The file might be replaced between open() and stat().
Spotted by Mans.
Originally committed as revision 26075 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 | 
						15 years ago | 
					
				
					
						
							
							
								   Stefano Sabatini
							
						 | 
						
							
							
							
								
							
								1b31037d62
								
							
								
							
						 | 
						
							
							
								
								Replace lstat() with stat() in av_file_map(). The lstat() use was wrong.
							
							
							
							
							
							
								
							
							
							Originally committed as revision 26074 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 | 
						15 years ago | 
					
				
					
						
							
							
								   Stefano Sabatini
							
						 | 
						
							
							
							
								
							
								0328b9ea39
								
							
								
							
						 | 
						
							
							
								
								Add av_file_map() and av_file_unmap() functions.
							
							
							
							
							
							
								
							
							
							Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 | 
						15 years ago |