[bugfix] permit unspecified orientation data (#3205)
This commit is contained in:
parent
586639ccf0
commit
ae14aa004d
|
@ -484,7 +484,7 @@ func (res *ffprobeResult) Process() (*result, error) {
|
|||
|
||||
// Parse as integer value.
|
||||
i, _ := strconv.Atoi(str)
|
||||
if i <= 0 || i >= 9 {
|
||||
if i < 0 || i >= 9 {
|
||||
return nil, errors.New("invalid orientation data")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue