mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-07 08:30:58 +08:00
2023-11-02 10:14:31 CST W44D4
This commit is contained in:
@@ -102,12 +102,7 @@ func AvBufferRealloc(buf **AVBufferRef, size int32) int32 {
|
||||
return (int32)(C.av_buffer_realloc((**C.struct_AVBufferRef)(unsafe.Pointer(buf)), (C.int)(size)))
|
||||
}
|
||||
|
||||
// AvBufferReplace ensures dst refers to the same data as src.
|
||||
func AvBufferReplace(dst **AVBufferRef, src *AVBufferRef) int32 {
|
||||
return (int32)(C.av_buffer_replace((**C.struct_AVBufferRef)(unsafe.Pointer(dst)),
|
||||
(*C.struct_AVBufferRef)(src)))
|
||||
}
|
||||
|
||||
// AVBufferPool
|
||||
type AVBufferPool C.struct_AVBufferPool
|
||||
|
||||
// typedef AVBufferRef* (*av_buffer_pool_alloc_func)(int size)
|
||||
|
Reference in New Issue
Block a user