From 611a738efab340455a94154724a4bffd65fa0298 Mon Sep 17 00:00:00 2001 From: vaclav Date: Fri, 8 Nov 2024 16:09:24 +0100 Subject: [PATCH] add FIX_1209_SID_SIGNALING when DEBUGGING is activated --- lib_com/bitstream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib_com/bitstream.c b/lib_com/bitstream.c index babb9f3e0e..9dd2819283 100644 --- a/lib_com/bitstream.c +++ b/lib_com/bitstream.c @@ -2624,9 +2624,11 @@ ivas_error preview_indices( case SID_ISM: st_ivas->ivas_format = ISM_FORMAT; break; +#ifndef FIX_1209_SID_SIGNALING case SID_MULTICHANNEL: st_ivas->ivas_format = MC_FORMAT; break; +#endif case SID_SBA_1TC: st_ivas->ivas_format = SBA_FORMAT; st_ivas->element_mode_init = IVAS_SCE; @@ -2651,7 +2653,9 @@ ivas_error preview_indices( } break; default: +#ifndef FIX_1209_SID_SIGNALING /* This should actually be impossible, since only 3 bits are read, so if this happens something is broken */ +#endif return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Invalid value %c found in SID format field.", st_ivas->sid_format ); } } -- GitLab