Mercurial > mplayer.hg
changeset 33443:02214457c955
Fix code incorrectly assuming "char" is signed.
author | reimar |
---|---|
date | Mon, 30 May 2011 21:31:31 +0000 |
parents | ed7f2a6b58e6 |
children | fac64fecdb03 |
files | libmpcodecs/vf_divtc.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_divtc.c Mon May 30 21:25:32 2011 +0000 +++ b/libmpcodecs/vf_divtc.c Mon May 30 21:31:31 2011 +0000 @@ -42,7 +42,7 @@ ocount, sum[5]; double threshold; FILE *file; - char *bdata; + int8_t *bdata; unsigned int *csdata; int *history; }; @@ -384,8 +384,8 @@ { int *buf=0, *bp, bufsize=0, n, b, f, i, j, m, s; unsigned int *cbuf=0, *cp; - char *pbuf; - char lbuf[256]; + int8_t *pbuf; + int8_t lbuf[256]; int sum[5]; double d;