mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-07 08:30:58 +08:00
2023-11-02 09:29:33 CST W44D4
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