2023-10-13 20:52:26 CST W41D5

This commit is contained in:
aggresss
2023-10-10 13:14:21 +08:00
parent 7fd11974a3
commit 3189856a17
80 changed files with 15354 additions and 0 deletions

12
avcodec_ac3_parser.go Normal file
View File

@@ -0,0 +1,12 @@
package ffmpeg
/*
#include <libavcodec/ac3_parser.h>
*/
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 {
return (int32)(C.av_ac3_parse_header((*C.uint8_t)(buf), (C.size_t)(size),
(*C.uint8_t)(bitstreamID), (*C.uint16_t)(frameSize)))
}