Mercurial > mplayer.hg
diff m_option.h @ 17456:b8ce59172e6a
100L m_option_copy should use the copy callback and not the set one.
author | albeu |
---|---|
date | Sun, 22 Jan 2006 12:43:14 +0000 |
parents | feb16d0117c8 |
children | 21123e349463 |
line wrap: on
line diff
--- a/m_option.h Sun Jan 22 05:57:46 2006 +0000 +++ b/m_option.h Sun Jan 22 12:43:14 2006 +0000 @@ -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); }