diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 16:25:11 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 16:25:11 +0100 |
commit | 9e0f5443c389736ce490a5e6afaf7b36c44f23c0 (patch) | |
tree | 7acad93e98b390fdcffd23a50d724a4903379443 /src | |
parent | 41676eeedee9900244b7750dd38e3a67af710bc7 (diff) | |
download | xine-lib-9e0f5443c389736ce490a5e6afaf7b36c44f23c0.tar.gz xine-lib-9e0f5443c389736ce490a5e6afaf7b36c44f23c0.tar.bz2 |
Initialize found when declaring it.
Diffstat (limited to 'src')
-rw-r--r-- | src/spu_dec/spudec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/spu_dec/spudec.c b/src/spu_dec/spudec.c index 3edf6a9fd..b7a812bc5 100644 --- a/src/spu_dec/spudec.c +++ b/src/spu_dec/spudec.c @@ -871,7 +871,7 @@ static void spudec_discover_clut(xine_t *xine, spudec_state_t *state, vo_overlay int n,i; rle_elem_t *rle; - int found[2][16]; + int found[2][16] = { { 0, }, }; static const clut_t text_clut[] = { CLUT_Y_CR_CB_INIT(0x80, 0x90, 0x80), @@ -879,7 +879,6 @@ static void spudec_discover_clut(xine_t *xine, spudec_state_t *state, vo_overlay CLUT_Y_CR_CB_INIT(0xff, 0x90, 0x00) }; - memset(found,0,sizeof(found)); rle = ovl->rle; /* this seems to be a problem somewhere else, |