mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-06 08:07:05 +08:00
2023-10-24 21:24:55 CST W43D2
This commit is contained in:
10
avutil_macros.go
Normal file
10
avutil_macros.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package ffmpeg
|
||||
|
||||
/*
|
||||
#include <libavutil/macros.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
func FFALIGN[T HelperInteger](x, a T) T {
|
||||
return ((x) + (a) - 1) & ^((a) - 1)
|
||||
}
|
Reference in New Issue
Block a user