diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-05 15:09:49 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-05 15:09:49 +0000 |
commit | 5d02058b47aadcc384ddd02083b8ee0639fb2592 (patch) | |
tree | 012a2b7c0682ecd178ea35cb12f086bc6d5cbc2c /libvo/vo_zr2.c | |
parent | 6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1 (diff) | |
download | mpv-5d02058b47aadcc384ddd02083b8ee0639fb2592.tar.bz2 mpv-5d02058b47aadcc384ddd02083b8ee0639fb2592.tar.xz |
Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr2.c')
-rw-r--r-- | libvo/vo_zr2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c index 613496d48c..e1413ac83d 100644 --- a/libvo/vo_zr2.c +++ b/libvo/vo_zr2.c @@ -394,7 +394,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, * We make configuration changes to a temporary params structure, * compare it with the old params structure and only apply the new * config if it is different from the old one. */ - fast_memcpy(&zptmp, &p->zp, sizeof(zptmp)); + memcpy(&zptmp, &p->zp, sizeof(zptmp)); /* translate the configuration to zoran understandable format */ zptmp.decimation = 0; @@ -423,7 +423,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, if (memcmp(&zptmp, &p->zp, sizeof(zptmp))) { /* config differs, we must update */ - fast_memcpy(&p->zp, &zptmp, sizeof(zptmp)); + memcpy(&p->zp, &zptmp, sizeof(zptmp)); stop_playing(p); if (ioctl(p->vdes, MJPIOC_S_PARAMS, &p->zp) < 0) { ERROR("error writing display params to card\n"); |