From 169df2ac097bdff0a70825ec0e03f3ce3478bb78 Mon Sep 17 00:00:00 2001 From: albeu Date: Sun, 22 Jan 2006 12:43:14 +0000 Subject: 100L m_option_copy should use the copy callback and not the set one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17457 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm_option.h') diff --git a/m_option.h b/m_option.h index 5ab2597549..071e15d6f4 100644 --- a/m_option.h +++ b/m_option.h @@ -259,7 +259,7 @@ m_option_set(m_option_t* opt,void* dst, void* src) { 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); } -- cgit v1.2.3