Skip to content

Commit a8f74a1

Browse files
yilun-zhangstdaede
authored andcommitted
fix one compile error
1 parent 445a3cc commit a8f74a1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/src/iamf_dec/IAMF_decoder.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4414,8 +4414,9 @@ char *IAMF_decoder_get_codec_capability() {
44144414

44154415
if (!ccs_str) return 0;
44164416

4417-
snprintf(ccs_str, CC_STR_SIZE, "iamf.%.03u.%.03u.ipcm", IAMF_PROFILE_DEFAULT,
4417+
snprintf(cc_str, STRING_SIZE, "iamf.%.03u.%.03u.ipcm", IAMF_PROFILE_DEFAULT,
44184418
IAMF_PROFILE_DEFAULT);
4419+
strcat(ccs_str, cc_str);
44194420

44204421
#ifdef CONFIG_OPUS_CODEC
44214422
snprintf(cc_str, STRING_SIZE, ";iamf.%.03u.%.03u.Opus", IAMF_PROFILE_DEFAULT,

0 commit comments

Comments
 (0)