comparison random.h @ 392:d0f3bb6e367e libavutil

Add FFMPEG_ prefix to all multiple inclusion guards.
author diego
date Wed, 17 Oct 2007 09:37:46 +0000
parents 06fd8e5c5a04
children a5c3bc3dcd3e
comparison
equal deleted inserted replaced
391:997894c973e2 392:d0f3bb6e367e
19 * You should have received a copy of the GNU Lesser General Public 19 * You should have received a copy of the GNU Lesser General Public
20 * License along with FFmpeg; if not, write to the Free Software 20 * License along with FFmpeg; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */ 22 */
23 23
24 #ifndef AV_RANDOM_H 24 #ifndef FFMPEG_RANDOM_H
25 #define AV_RANDOM_H 25 #define FFMPEG_RANDOM_H
26 26
27 #define AV_RANDOM_N 624 27 #define AV_RANDOM_N 624
28 28
29 typedef struct { 29 typedef struct {
30 unsigned int mt[AV_RANDOM_N]; ///< the array for the state vector 30 unsigned int mt[AV_RANDOM_N]; ///< the array for the state vector
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 66 // only available if DEBUG is defined in the .c file
67 void av_benchmark_random(void); 67 void av_benchmark_random(void);
68 #endif // AV_RANDOM_H
69 68
69 #endif /* FFMPEG_RANDOM_H */