Commit 542fdaea authored by reutelhuber's avatar reutelhuber
Browse files

fix problem accidentally introduced for regular ISM modes

parent bba62c28
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -396,11 +396,15 @@ ivas_error ivas_ism_metadata_enc(
                push_indice( hBstr, IND_ISM_MD_NULL_FLAG, 1, ISM_METADATA_MD_FLAG_BITS );

                /* write the ISM class to ISM_NO_META and again the true ISM class */
                push_indice( hBstr, IND_ISM_METADATA_FLAG, ISM_NO_META, 1 );
                if ( ism_mode != ISM_SBA_MODE_DISC )
                {
                    push_indice( hBstr, IND_ISM_METADATA_FLAG, ISM_NO_META, ISM_METADATA_FLAG_BITS );
                    push_indice( hBstr, IND_ISM_MD_INACTIVE_FLAG, ism_imp[ch], ISM_METADATA_FLAG_BITS );
                }
                else
                {
                    push_indice( hBstr, IND_ISM_METADATA_FLAG, ISM_NO_META, 1 );
                }
            }
            else if ( ism_mode != ISM_SBA_MODE_DISC )
            {