Mercurial > libavcodec.hg
diff h263.c @ 3776:1843a85123b7 libavcodec
fix some signedness warnings
author | mru |
---|---|
date | Wed, 27 Sep 2006 19:47:39 +0000 |
parents | 7963ceb93083 |
children | 20545fbb6f7c |
line wrap: on
line diff
--- a/h263.c Wed Sep 27 19:46:19 2006 +0000 +++ b/h263.c Wed Sep 27 19:47:39 2006 +0000 @@ -1518,7 +1518,7 @@ static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr) { int x, y, wrap, a, c, pred_dc, scale; - int16_t *dc_val; + uint16_t *dc_val; /* find prediction */ if (n < 4) { @@ -1563,7 +1563,8 @@ static void h263_pred_acdc(MpegEncContext * s, DCTELEM *block, int n) { int x, y, wrap, a, c, pred_dc, scale, i; - int16_t *dc_val, *ac_val, *ac_val1; + uint16_t *dc_val; + int16_t *ac_val, *ac_val1; /* find prediction */ if (n < 4) {