mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-22 11:46:19 CST W43D0
This commit is contained in:
@@ -6,7 +6,7 @@ package ffmpeg
|
||||
import "C"
|
||||
|
||||
// AvAc3ParseHeader extracts the bitstream ID and the frame size from AC-3 data.
|
||||
func AvAc3ParseHeader(buf *uint8, size uint, bitstreamID *uint8, frameSize *uint16) int32 {
|
||||
func AvAc3ParseHeader(buf *uint8, size uintptr, bitstreamID *uint8, frameSize *uint16) int32 {
|
||||
return (int32)(C.av_ac3_parse_header((*C.uint8_t)(buf), (C.size_t)(size),
|
||||
(*C.uint8_t)(bitstreamID), (*C.uint16_t)(frameSize)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user