mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-11 18:40:30 +08:00
2023-10-31 09:16:44 CST W44D2
This commit is contained in:
@@ -87,7 +87,7 @@ func AvD2Q(d float64, max int32) AVRational {
|
||||
// return One of the following values:
|
||||
// 1 if `q1` is nearer to `q` than `q2`
|
||||
// -1 if `q2` is nearer to `q` than `q1`
|
||||
// 0 if they have the same distance
|
||||
// 0 if they have the same distance.
|
||||
func AvNearerQ(q, q1, q2 AVRational) int32 {
|
||||
return (int32)(C.av_nearer_q((C.struct_AVRational)(q),
|
||||
(C.struct_AVRational)(q1), (C.struct_AVRational)(q2)))
|
||||
|
Reference in New Issue
Block a user