Commit 467a55a4 authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarJames Darnley <james.darnley@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 46ef45ab
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment