Fix for avisynth.h for it to work with avisynthx64

Originally committed to SVN as r1845.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-26 16:57:46 +00:00
parent 346520fbce
commit 96bb7cbe53

View file

@ -566,8 +566,9 @@ private:
if (!init && IsClip() && clip)
clip->Release();
// make sure this copies the whole struct!
((__int32*)this)[0] = ((__int32*)src)[0];
((__int32*)this)[1] = ((__int32*)src)[1];
//((__int32*)this)[0] = ((__int32*)src)[0];
//((__int32*)this)[1] = ((__int32*)src)[1];
memcpy(this, src, sizeof(AVSValue));
}
};