mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 23:57:39 +08:00
11 lines
145 B
Go
11 lines
145 B
Go
package ffmpeg
|
|
|
|
/*
|
|
#include <libavutil/macros.h>
|
|
*/
|
|
import "C"
|
|
|
|
func FFALIGN[T HelperInteger](x, a T) T {
|
|
return ((x) + (a) - 1) & ^((a) - 1)
|
|
}
|