| 1 | --- mplayer-export-2012-05-13_orig/stream/stream_pvr.c 2011-06-11 16:21:54.000000000 +0000
|
|---|
| 2 | +++ mplayer-export-2012-05-13/stream/stream_pvr.c 2012-05-13 16:24:49.665688896 +0000
|
|---|
| 3 | @@ -90,7 +90,7 @@
|
|---|
| 4 | char *pvr_param_stream_type = NULL;
|
|---|
| 5 |
|
|---|
| 6 | typedef struct station_elem_s {
|
|---|
| 7 | - char name[8];
|
|---|
| 8 | + char name[PVR_STATION_NAME_SIZE];
|
|---|
| 9 | int freq;
|
|---|
| 10 | char station[PVR_STATION_NAME_SIZE];
|
|---|
| 11 | int enabled;
|
|---|
| 12 | @@ -380,9 +380,10 @@
|
|---|
| 13 | station, PVR_STATION_NAME_SIZE);
|
|---|
| 14 | if (channel)
|
|---|
| 15 | av_strlcpy (pvr->stationlist.list[i].name, channel, PVR_STATION_NAME_SIZE);
|
|---|
| 16 | - else
|
|---|
| 17 | + else {
|
|---|
| 18 | snprintf (pvr->stationlist.list[i].name,
|
|---|
| 19 | PVR_STATION_NAME_SIZE, "F %d", freq);
|
|---|
| 20 | + }
|
|---|
| 21 |
|
|---|
| 22 | pvr->stationlist.list[i].freq = freq;
|
|---|
| 23 |
|
|---|