mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 23:57:39 +08:00
2023-11-15 21:40:07 CST W46D3
This commit is contained in:
@@ -94,12 +94,12 @@ func main() {
|
||||
}
|
||||
size = width * height
|
||||
|
||||
fin, err = os.OpenFile(os.Args[3], os.O_RDONLY, 0666)
|
||||
fin, err = os.OpenFile(os.Args[3], os.O_RDONLY, 0644)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Could not open %s\n", os.Args[3])
|
||||
os.Exit(1)
|
||||
}
|
||||
fout, err = os.OpenFile(os.Args[4], os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0755)
|
||||
fout, err = os.OpenFile(os.Args[4], os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Could not open %s\n", os.Args[4])
|
||||
goto close
|
||||
|
Reference in New Issue
Block a user