mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 15:47:33 +08:00
2023-10-24 21:24:55 CST W43D2
This commit is contained in:
11
avutil_random_seed.go
Normal file
11
avutil_random_seed.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package ffmpeg
|
||||
|
||||
/*
|
||||
#include <libavutil/random_seed.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AvGetRandomSeed gets a seed to use in conjunction with random functions.
|
||||
func AvGetRandomSeed() uint32 {
|
||||
return (uint32)(C.av_get_random_seed())
|
||||
}
|
Reference in New Issue
Block a user