mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 15:47:33 +08:00
2023-10-22 11:46:19 CST W43D0
This commit is contained in:
@@ -385,7 +385,7 @@ func AvPacketNewSideData(pkt *AVPacket, _type AVPacketSideDataType, size int32)
|
||||
}
|
||||
|
||||
// AvPacketAddSideData wraps an existing array as a packet side data.
|
||||
func AvPacketAddSideData(pkt *AVPacket, _type AVPacketSideDataType, data *uint8, size uint) int32 {
|
||||
func AvPacketAddSideData(pkt *AVPacket, _type AVPacketSideDataType, data *uint8, size uintptr) int32 {
|
||||
return (int32)(C.av_packet_add_side_data((*C.struct_AVPacket)(pkt),
|
||||
(C.enum_AVPacketSideDataType)(_type), (*C.uint8_t)(data), (C.size_t)(size)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user