[FFmpeg-devel] avutil/lfg: Document the AVLFG struct

Submitted by Michael Niedermayer on Oct. 20, 2019, 10:13 a.m.

Details

Message ID 20191020101329.31806-1-michael@niedermayer.cc
State Accepted
Commit d6fea2ef221a2f438cc55e82c61d0375750edf94
Headers show

Commit Message

Michael Niedermayer Oct. 20, 2019, 10:13 a.m.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavutil/lfg.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Michael Niedermayer Nov. 9, 2019, 3:11 p.m.
On Sun, Oct 20, 2019 at 12:13:29PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavutil/lfg.h | 6 ++++++
>  1 file changed, 6 insertions(+)

will apply

[...]

Patch hide | download patch | download mbox

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;