[FFmpeg-devel] [PATCH] avutil/lfg: Document the AVLFG struct
Michael Niedermayer
michael at niedermayer.cc
Sun Oct 20 13:13:29 EEST 2019
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavutil/lfg.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavutil/lfg.h b/libavutil/lfg.h
index 94b02909ec..2b669205d1 100644
--- a/libavutil/lfg.h
+++ b/libavutil/lfg.h
@@ -24,6 +24,12 @@
#include <stdint.h>
+/**
+ * Context structure for the Lagged Fibonacci PRNG.
+ * The exact layout, types and content of this struct may change and should
+ * not be accessed directly. Only its sizeof() is guranteed to stay the same
+ * to allow easy instanciation.
+ */
typedef struct AVLFG {
unsigned int state[64];
int index;
--
2.23.0
More information about the ffmpeg-devel
mailing list