diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index a22cb1eec533c3945fb427a91913e2f427bac5c5..fb97f085be1d1f8512951b64b25e20a0dff8298e 100644
--- a/libavcodec/motion-test.c
+++ b/libavcodec/motion-test.c
@@ -48,11 +48,7 @@ static void fill_random(uint8_t *tab, int size)
 
     av_lfg_init(&prng, 1);
     for(i=0;i<size;i++) {
-#if 1
         tab[i] = av_lfg_get(&prng) % 256;
-#else
-        tab[i] = i;
-#endif
     }
 }