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