mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-26 00:40:24 +08:00
2023-10-31 09:16:44 CST W44D2
This commit is contained in:
@@ -23,8 +23,8 @@ func AvShaInit(context *AVSHA, bits int32) int32 {
|
||||
}
|
||||
|
||||
// AvShaUpdate updates hash value.
|
||||
func AvShaUpdate(ctx *AVSHA, data *uint8, len uint32) {
|
||||
C.av_sha_update((*C.struct_AVSHA)(ctx), (*C.uint8_t)(data), (C.uint)(len))
|
||||
func AvShaUpdate(ctx *AVSHA, data *uint8, len uintptr) {
|
||||
C.av_sha_update((*C.struct_AVSHA)(ctx), (*C.uint8_t)(data), (C.size_t)(len))
|
||||
}
|
||||
|
||||
// AvShaFinal finishes hashing and output digest value.
|
||||
|
||||
Reference in New Issue
Block a user