[MPlayer-cvslog] CVS: main m_option.h,1.12,1.13

Alban Bedel CVS syncmail at mplayerhq.hu
Sun Jan 22 13:43:17 CET 2006


CVS change done by Alban Bedel CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv14087

Modified Files:
	m_option.h 
Log Message:
100L m_option_copy should use the copy callback and not the set one.


Index: m_option.h
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- m_option.h	2 Sep 2005 08:29:30 -0000	1.12
+++ m_option.h	22 Jan 2006 12:43:14 -0000	1.13
@@ -259,7 +259,7 @@
 inline  static void
 m_option_copy(m_option_t* opt,void* dst, void* src) {
   if(opt->type->copy)
-    opt->type->set(opt,dst,src);
+    opt->type->copy(opt,dst,src);
   else if(opt->type->size > 0)
     memcpy(dst,src,opt->type->size);
 }




More information about the MPlayer-cvslog mailing list