mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 15:47:33 +08:00
2023-10-31 09:16:44 CST W44D2
This commit is contained in:
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// FFALIGN
|
||||
func FFALIGN[T Integer](x, a T) T {
|
||||
return ((x) + (a) - 1) & ^((a) - 1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user