[MPlayer-cvslog] r37511 - in branches/1.2: . gui/util/list.c gui/util/list.h

ib subversion at mplayerhq.hu
Tue Sep 8 23:02:18 CEST 2015


Author: ib
Date: Tue Sep  8 23:02:17 2015
New Revision: 37511

Log:
Merge r37495 from trunk:

Extend the playlist item.

Modified:
   branches/1.2/   (props changed)
   branches/1.2/gui/util/list.c
   branches/1.2/gui/util/list.h

Modified: branches/1.2/gui/util/list.c
==============================================================================
--- branches/1.2/gui/util/list.c	Tue Sep  8 23:02:15 2015	(r37510)
+++ branches/1.2/gui/util/list.c	Tue Sep  8 23:02:17 2015	(r37511)
@@ -197,6 +197,7 @@ void *listMgr(int cmd, void *data)
 
             free(curr->path);
             free(curr->name);
+            free(curr->title);
             free(curr);
         }
 
@@ -209,6 +210,7 @@ void *listMgr(int cmd, void *data)
 
             free(plList->path);
             free(plList->name);
+            free(plList->title);
             free(plList);
 
             plList = item;

Modified: branches/1.2/gui/util/list.h
==============================================================================
--- branches/1.2/gui/util/list.h	Tue Sep  8 23:02:15 2015	(r37510)
+++ branches/1.2/gui/util/list.h	Tue Sep  8 23:02:17 2015	(r37511)
@@ -41,6 +41,9 @@ enum {
 typedef struct plItem {
     char *path;
     char *name;
+    char *title;
+    int start;
+    int stop;
     struct plItem *prev, *next;
 } plItem;
 


More information about the MPlayer-cvslog mailing list