chansrv/audin: return UNKNOWN when undefined value
is passed to audin_wave_format_tag_to_str.
This commit is contained in:
parent
73a8865561
commit
9d7a817e87
@ -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";
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user