mirror of https://github.com/FFmpeg/FFmpeg.git
bp->len cannot be used to detect if try_describe_ambisonic was successful because the bprint buffer might contain other data as well. Also describing an invalid ambisonic layout should not return 0 but AVERROR(EINVAL) instead, so change try_describe_ambisonic to actually return error on invalid ambisonics. This also allows us to fix the first issue. Signed-off-by: Marton Balint <cus@passwd.hu>release/5.1
parent
580f7b6c3a
commit
92f27c6728
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue