mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-09-29 21:22:13 +08:00
16 lines
368 B
Go
16 lines
368 B
Go
// Copyright (c) 2023 QRTC. All rights reserved.
|
|
// Use of this source code is governed by a MIT
|
|
// license that can be found in the LICENSE file.
|
|
|
|
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())
|
|
}
|