aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/codec_id.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-03-15 20:31:45 +0100
committerMarton Balint <cus@passwd.hu>2022-03-15 23:19:24 +0100
commit92f27c6728fe08c36b3e09cc64421b8c7388634b (patch)
tree4eb252b6235ed0d2c24db3287ba1ca0eb4305c3d /libavcodec/codec_id.h
parent580f7b6c3ac4ee196c7a78641fe65da7a68b6971 (diff)
downloadffmpeg-92f27c6728fe08c36b3e09cc64421b8c7388634b.tar.gz
avutil/channel_layout: fix av_channel_layout_describe_bprint with custom and ambisonic channels
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>
Diffstat (limited to 'libavcodec/codec_id.h')
0 files changed, 0 insertions, 0 deletions