You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avutil/md5: workaround clang 3.5 #20849
This avoids several failures on fate.ffmpeg.org, and thus makes real bugs easier to spot Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -218,7 +218,8 @@ static void print_md5(uint8_t *md5) | ||||
| int main(void){ | ||||
|     uint8_t md5val[16]; | ||||
|     int i; | ||||
|     uint8_t in[1000]; | ||||
|     volatile uint8_t in[1000]; // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849 | ||||
|     // FIXME remove volatile once it has been fixed and all fate clients are updated | ||||
|  | ||||
|     for (i = 0; i < 1000; i++) | ||||
|         in[i] = i * i; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user