chansrv/audin: return UNKNOWN when undefined value

is passed to audin_wave_format_tag_to_str.
This commit is contained in:
Koichiro IWAO 2023-02-11 11:50:42 +09:00
parent 73a8865561
commit 9d7a817e87

View File

@ -106,7 +106,7 @@ audin_wave_format_tag_to_str(int tag)
(tag == WAVE_FORMAT_MPEGLAYER3) ? "WAVE_FORMAT_MPEGLAYER3" :
(tag == WAVE_FORMAT_OPUS) ? "WAVE_FORMAT_OPUS" :
(tag == WAVE_FORMAT_AAC) ? "WAVE_FORMAT_AAC" :
NULL;
"UNKNOWN";
}
/*****************************************************************************/