comparison random.h @ 528:a5c3bc3dcd3e libavutil

Make the selftesting code use and compileable.
author michael
date Sun, 27 Jul 2008 20:50:24 +0000
parents d0f3bb6e367e
children 0f5a73051b25
comparison
equal deleted inserted replaced
527:6ebdeca51ff4 528:a5c3bc3dcd3e
61 { 61 {
62 /* divided by 2^32-1 */ 62 /* divided by 2^32-1 */
63 return av_random(state) * (1.0 / 4294967296.0); 63 return av_random(state) * (1.0 / 4294967296.0);
64 } 64 }
65 65
66 // only available if DEBUG is defined in the .c file
67 void av_benchmark_random(void);
68
69 #endif /* FFMPEG_RANDOM_H */ 66 #endif /* FFMPEG_RANDOM_H */