!327 av3a格式HOA模式通道数Bug修复

Merge pull request !327 from liushuai/av3a_branch_fixed_20241112
This commit is contained in:
openharmony_ci 2024-11-13 02:40:36 +00:00 committed by Gitee
commit 3c773637a0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -137,7 +137,7 @@ static int ff_read_av3a_header_parse(GetBitContext *gb, AATFHeaderInfo *hdf)
} else if (hdf->coding_profile == AV3A_AMBISONIC_PROFILE) {
hdf->content_type = AV3A_AMBISONIC_TYPE;
hdf->order = get_bits(gb, 4);
hdf->hoa_order += 1;
hdf->hoa_order = hdf->order + 1;
switch (hdf->hoa_order) {
case AV3A_AMBISONIC_FIRST_ORDER: