mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-17 15:38:39 CST W42D2
This commit is contained in:
@@ -101,7 +101,7 @@ func main() {
|
||||
fmt.Fprintf(os.Stderr, "Could not allocate video frame\n")
|
||||
os.Exit(1)
|
||||
}
|
||||
frame.SetFormat(int32(avctx.GetPixFmt()))
|
||||
frame.SetFormat(avctx.GetPixFmt())
|
||||
frame.SetWidth(avctx.GetWidth())
|
||||
frame.SetHeight(avctx.GetHeight())
|
||||
|
||||
|
Reference in New Issue
Block a user