diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-20 12:12:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:48 +0100 |
commit | a1ee2b13f26384c9cfb1ec7c897f3409c58d5cca (patch) | |
tree | 3efe973673c942e2daffa9e6bb5c541b1ee7e071 | |
parent | 8b48bcb35bea1a802827a3dff02fbfe76d54da71 (diff) | |
download | ffmpeg-a1ee2b13f26384c9cfb1ec7c897f3409c58d5cca.tar.gz |
avutil/lfg: Document the AVLFG struct
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d6fea2ef221a2f438cc55e82c61d0375750edf94)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavutil/lfg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/lfg.h b/libavutil/lfg.h index 03f779ad8a..ab38a8a0df 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; |