mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 15:47:33 +08:00
2023-10-27 06:28:27 CST W43D5
This commit is contained in:
@@ -7,7 +7,7 @@ package ffmpeg
|
||||
import "C"
|
||||
|
||||
// AVERROR returns a negative error code from a POSIX error code, to return from library functions.
|
||||
func AVERROR[T HelperInteger](ie T) (oe int32) {
|
||||
func AVERROR[T Integer](ie T) (oe int32) {
|
||||
oe = (int32)(ie)
|
||||
if C.EDOM > 0 {
|
||||
return (-oe)
|
||||
|
Reference in New Issue
Block a user