2023-11-04 17:30:05 CST W44D6

This commit is contained in:
aggresss
2023-11-04 17:30:05 +08:00
parent 35ead29659
commit d9fd8e43ad
9 changed files with 20 additions and 20 deletions

View File

@@ -51,7 +51,7 @@ const (
AV_BUFFER_FLAG_READONLY = C.AV_BUFFER_FLAG_READONLY
)
// typedef void (*av_buffer_free_func)(void *opaque, uint8_t *data)
// typedef void (*av_buffer_free_func)(void *opaque, uint8_t *data);
type AVBufferFreeFunc = C.av_buffer_free_func
// AvBufferCreate Create an AVBuffer from an existing array.
@@ -107,13 +107,13 @@ func AvBufferRealloc(buf **AVBufferRef, size int32) int32 {
// AVBufferPool
type AVBufferPool C.struct_AVBufferPool
// typedef AVBufferRef* (*av_buffer_pool_alloc_func)(int size)
// typedef AVBufferRef* (*av_buffer_pool_alloc_func)(int size);
type AVBufferPoolAllocFunc = C.av_buffer_pool_alloc_func
// typedef AVBufferRef* (*av_buffer_pool_alloc2_func)(void* opaque, int size)
// typedef AVBufferRef* (*av_buffer_pool_alloc2_func)(void* opaque, int size);
type AVBufferPoolAlloc2Func = C.av_buffer_pool_alloc2_func
// typedef void (*av_buffer_pool_free_func)(void* opaque)
// typedef void (*av_buffer_pool_free_func)(void* opaque);
type AVBufferPoolFreeFunc = C.av_buffer_pool_free_func
// AvBufferPoolInit allocates and initializes a buffer pool.