Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb get string: allow to override charset when auto detection fails, …
…fixes #2407
  • Loading branch information
perexg committed Oct 22, 2014
1 parent e21b220 commit 584c8c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/mpegts/dvb_support.c
Expand Up @@ -270,7 +270,7 @@ dvb_get_string
break;

case 0x0c ... 0x0f:
return -1;
break;

case 0x10: /* Table A.4 */
if(srclen < 3 || src[1] != 0 || src[2] == 0 || src[2] > 0x0f)
Expand All @@ -292,13 +292,13 @@ dvb_get_string

case 0x12:
case 0x14:
return -1;
break;

case 0x15:
ic = convert_utf8;
break;
case 0x16 ... 0x1f:
return -1;
break;

default:
if (auto_pl_charset)
Expand Down

0 comments on commit 584c8c2

Please sign in to comment.