[Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.49,1.50
Alban Bedel CVS
albeu at mplayerhq.hu
Mon Mar 3 11:59:27 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv27128/libmpdemux
Modified Files:
tv.c
Log Message:
10L never blowup an option pointer !!!!
That fix Gub's bug (sorry for the delay ;)
Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- tv.c 25 Feb 2003 08:22:00 -0000 1.49
+++ tv.c 3 Mar 2003 10:59:07 -0000 1.50
@@ -236,6 +236,7 @@
/* Handle channels names */
if (tv_param_channels) {
+ char** channels = tv_param_channels;
mp_msg(MSGT_TV, MSGL_INFO, "TV Channels names detected.\n");
tv_channel_list = malloc(sizeof(tv_channels_t));
tv_channel_list->index=1;
@@ -243,8 +244,8 @@
tv_channel_list->prev=NULL;
tv_channel_current = tv_channel_list;
- while (*tv_param_channels) {
- char* tmp = *(tv_param_channels++);
+ while (*channels) {
+ char* tmp = *(channels++);
char* sep = strchr(tmp,'-');
int i;
struct CHANLIST cl;
More information about the MPlayer-cvslog
mailing list