Project

General

Profile

Bug #434 » fix_pl_epg.patch

patch with tvheadend root - bigtarget bigtarget, 2011-05-13 09:40

View differences:

src/dvb/dvb_support.c
121 121
    return -1;
122 122

  
123 123
  default:
124
    if (dvb_default_charset != NULL && sscanf(dvb_default_charset, "ISO8859-%d", &i) > 0) {
125
      if (i > 0 && i < 16) {
126
        ic = convert_iso_8859[i];
127
      } else {
128
        ic = convert_latin1;
129
      }
124
    ic = convert_latin1;
125
    break;
126
  }
127

  
128
  if (dvb_default_charset != NULL) {
129
    if (sscanf(dvb_default_charset, "ISO8859-%d", &i) > 0 && i > 0 && i < 16) {
130
      ic = convert_iso_8859[i];
130 131
    } else {
131 132
      ic = convert_latin1;
132 133
    }
133
    break;
134 134
  }
135 135

  
136 136
  if(srclen < 1) {
137
- 
(5-5/7)