mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-07 17:10:58 +08:00
Added github action
This commit is contained in:
@@ -93,7 +93,7 @@ func (l *ChannelLayout) String() string {
|
||||
}
|
||||
|
||||
func (l *ChannelLayout) Describe(b []byte) (int, error) {
|
||||
ret := C.av_channel_layout_describe(l.c, (*C.char)(unsafe.Pointer(&b[0])), C.ulong(len(b)))
|
||||
ret := C.av_channel_layout_describe(l.c, (*C.char)(unsafe.Pointer(&b[0])), cUlong(len(b)))
|
||||
if ret < 0 {
|
||||
return 0, newError(ret)
|
||||
}
|
||||
|
Reference in New Issue
Block a user