Commit dab3e8c5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Do not use an assert on ifo_print

parent c8df1333
......@@ -268,7 +268,8 @@ static void ifo_print_audio_attributes(int level, audio_attr_t *attr) {
switch(attr->lang_type) {
case 0:
// not specified
assert(attr->lang_code == 0 || attr->lang_code == 0xffff);
if(attr->lang_code != 0 && attr->lang_code != 0xffff)
printf("Lang_code 0x%x, please send a bug report!", attr->lang_code);
break;
case 1:
printf("%c%c ", attr->lang_code>>8, attr->lang_code & 0xff);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment