mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-06 08:07:05 +08:00
2023-11-18 13:50:46 CST W46D6
This commit is contained in:
@@ -78,7 +78,7 @@ func main() {
|
||||
}
|
||||
dstFilename := os.Args[1]
|
||||
|
||||
dstFile, err := os.OpenFile(dstFilename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0755)
|
||||
dstFile, err := os.OpenFile(dstFilename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Could not open destination file %s\n", dstFilename)
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user