diff options
Diffstat (limited to 'src/DSUtil')
-rw-r--r-- | src/DSUtil/DSUtil.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DSUtil/DSUtil.cpp b/src/DSUtil/DSUtil.cpp index 24134534f..563dd1ba4 100644 --- a/src/DSUtil/DSUtil.cpp +++ b/src/DSUtil/DSUtil.cpp @@ -971,6 +971,7 @@ void memsetd(void* dst, unsigned int c, size_t nbytes) cld
rep stosd
}
+ return;
}
#endif
size_t n = nbytes / 4;
@@ -987,9 +988,6 @@ void memsetd(void* dst, unsigned int c, size_t nbytes) for (ptrdiff_t i = 0; i < o; i+=4)
_mm_storeu_si128( (__m128i*)&(((DWORD*)dst)[i]), val );
}
-
- for (ptrdiff_t i = o; i < n; i++)
- ((DWORD*)dst)[i] = c;
}
bool ExtractBIH(const AM_MEDIA_TYPE* pmt, BITMAPINFOHEADER* bih)
|