diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-22 12:43:14 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-22 12:43:14 +0000 |
commit | 169df2ac097bdff0a70825ec0e03f3ce3478bb78 (patch) | |
tree | 784cb57a817cda17989ade90e91e0b2cf5ad7e7c | |
parent | 6d5a941a6e6150810d767c8801c15f313f091bea (diff) | |
download | mpv-169df2ac097bdff0a70825ec0e03f3ce3478bb78.tar.bz2 mpv-169df2ac097bdff0a70825ec0e03f3ce3478bb78.tar.xz |
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
-rw-r--r-- | m_option.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |