]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/lfg.h
libavutil: Don't use fcntl if the function does not exist
[ffmpeg] / libavutil / lfg.h
index 89a635a1b09ba664cb82dbe4c89610bd0629d2ff..5e526c1dae21e745d527bda9ed800e25490818ab 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef AVUTIL_LFG_H
 #define AVUTIL_LFG_H
 
-typedef struct {
+typedef struct AVLFG {
     unsigned int state[64];
     int index;
 } AVLFG;
@@ -55,7 +55,7 @@ static inline unsigned int av_mlfg_get(AVLFG *c){
  * Get the next two numbers generated by a Box-Muller Gaussian
  * generator using the random numbers issued by lfg.
  *
- * @param out[2] array where the two generated numbers are placed
+ * @param out array where the two generated numbers are placed
  */
 void av_bmg_get(AVLFG *lfg, double out[2]);