Mercurial > libavcodec.hg
diff h263.c @ 1008:fb6cbb8a04a3 libavcodec
fixing DCTELEM != short
| author | michaelni |
|---|---|
| date | Wed, 15 Jan 2003 19:21:21 +0000 |
| parents | 74dc4105e147 |
| children | 5d4c95f323d0 |
line wrap: on
line diff
--- a/h263.c Wed Jan 15 18:05:23 2003 +0000 +++ b/h263.c Wed Jan 15 19:21:21 2003 +0000 @@ -67,7 +67,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block, int n, int coded, int intra); static int h263_pred_dc(MpegEncContext * s, int n, UINT16 **dc_val_ptr); -static void mpeg4_inv_pred_ac(MpegEncContext * s, INT16 *block, int n, +static void mpeg4_inv_pred_ac(MpegEncContext * s, DCTELEM *block, int n, int dir); static void mpeg4_decode_sprite_trajectory(MpegEncContext * s); static inline int ff_mpeg4_pred_dc(MpegEncContext * s, int n, UINT16 **dc_val_ptr, int *dir_ptr); @@ -999,7 +999,7 @@ } -void h263_pred_acdc(MpegEncContext * s, INT16 *block, int n) +void h263_pred_acdc(MpegEncContext * s, DCTELEM *block, int n) { int x, y, wrap, a, c, pred_dc, scale, i; INT16 *dc_val, *ac_val, *ac_val1; @@ -1852,7 +1852,7 @@ return pred; } -void mpeg4_pred_ac(MpegEncContext * s, INT16 *block, int n, +void mpeg4_pred_ac(MpegEncContext * s, DCTELEM *block, int n, int dir) { int i; @@ -1907,7 +1907,7 @@ } -static void mpeg4_inv_pred_ac(MpegEncContext * s, INT16 *block, int n, +static void mpeg4_inv_pred_ac(MpegEncContext * s, DCTELEM *block, int n, int dir) { int i;
