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
This commit is contained in:
albeu 2006-01-22 12:43:14 +00:00
parent 6d5a941a6e
commit 169df2ac09
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}