error handling for zero bytes
This commit is contained in:
parent
9871e574d5
commit
e0d4d2d989
5
main.go
5
main.go
@ -58,6 +58,9 @@ func main() {
|
||||
makeOutputDir()
|
||||
defer clearOutputDir()
|
||||
|
||||
generateGlitchedSequence(sourceFile, fileExt, numCopies, shitSize, iterations, int32(chanceToRandom))
|
||||
err = generateGlitchedSequence(sourceFile, fileExt, numCopies, shitSize, iterations, int32(chanceToRandom))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
ffmpegGenerateMP4(fileExt)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user