39a7ded22d 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: read errno before calling functions which might change it  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73c4b6ce4b 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: implement base64 output.  
							
							Also fix usage string: the algorithm is not optional. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3926a30b58 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: use av_hash_final_hex().  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2599a62fbb 
								
							
								 
							
						 
						
							
							
								
								ffhash: Change size to an int  
							
							This fixes compilation with MSVC and ICL, and makes ffhash consistent
with how the rest of the codebase uses read().
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1075d6af7 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: close file handle on error  
							
							Fixes CID1026768
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54372848f3 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: Use O_BINARY when available  
							
							This fixes reading files in Windows
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b22f96b736 
								
							
								 
							
						 
						
							
							
								
								Rename ffadler to ffhash and expand it using the generic hash API  
							
							Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9cb1e0e15 
								
							
								 
							
						 
						
							
							
								
								ffadler: fix duplicate \n on errors  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a11593189b 
								
							
								 
							
						 
						
							
							
								
								ffadler: add multifile support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d66ce17b7 
								
							
								 
							
						 
						
							
							
								
								tools: Add adler32 checksum tool  
							
							This is about 6 times faster than md5sum on linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago