mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
46ef45ab59
commit
467a55a4ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user