Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdread
Commits
dab3e8c5
Commit
dab3e8c5
authored
Apr 09, 2014
by
Jean-Baptiste Kempf
Browse files
Do not use an assert on ifo_print
parent
c8df1333
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ifo_print.c
View file @
dab3e8c5
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment