mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-12 19:10:03 +08:00
2023-11-02 10:14:31 CST W44D4
This commit is contained in:
@@ -9,9 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
type AVAdler = C.AVAdler
|
||||
|
||||
// AvAdler32Update calculates the Adler32 checksum of a buffer.
|
||||
func AvAdler32Update(adler AVAdler, buf *uint8, len uint32) AVAdler {
|
||||
return (AVAdler)(C.av_adler32_update((C.AVAdler)(adler), (*C.uint8_t)(buf), (C.uint)(len)))
|
||||
func AvAdler32Update(adler uint32, buf *uint8, len uint32) uint32 {
|
||||
return (uint32)(C.av_adler32_update((C.ulong)(adler), (*C.uint8_t)(buf), (C.uint)(len)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user