diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-06-04 23:07:56 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-06-04 23:07:56 +0000 |
commit | b971db9ab0beb88edc4ceb23009619488f0c5be5 (patch) | |
tree | b92bc05159629334d964960b422dc2d7564889d9 /src/libmpeg2/idct_mlib.c | |
parent | 82f6597c4efac9e7608b20e9cfb6c45b613b7174 (diff) | |
download | xine-lib-b971db9ab0beb88edc4ceb23009619488f0c5be5.tar.gz xine-lib-b971db9ab0beb88edc4ceb23009619488f0c5be5.tar.bz2 |
libmpeg2 patches for gcc3.1 from michel
CVS patchset: 2018
CVS date: 2002/06/04 23:07:56
Diffstat (limited to 'src/libmpeg2/idct_mlib.c')
-rw-r--r-- | src/libmpeg2/idct_mlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmpeg2/idct_mlib.c b/src/libmpeg2/idct_mlib.c index 18097f51c..8fc4e41a2 100644 --- a/src/libmpeg2/idct_mlib.c +++ b/src/libmpeg2/idct_mlib.c @@ -28,6 +28,7 @@ #include <mlib_status.h> #include <mlib_sys.h> #include <mlib_video.h> +#include <string.h> #include <inttypes.h> #include "mpeg2_internal.h" @@ -36,18 +37,21 @@ void mpeg2_idct_add_mlib (int16_t * block, uint8_t * dest, int stride) { mlib_VideoIDCT_IEEE_S16_S16 (block, block); mlib_VideoAddBlock_U8_S16 (dest, block, stride); + memset (block, 0, 64 * sizeof (uint16_t); } void mpeg2_idct_copy_mlib_non_ieee (int16_t * block, uint8_t * dest, int stride) { mlib_VideoIDCT8x8_U8_S16 (dest, block, stride); + memset (block, 0, 64 * sizeof (uint16_t); } void mpeg2_idct_add_mlib_non_ieee (int16_t * block, uint8_t * dest, int stride) { mlib_VideoIDCT8x8_S16_S16 (block, block); mlib_VideoAddBlock_U8_S16 (dest, block, stride); + memset (block, 0, 64 * sizeof (uint16_t); } #endif |