Mercurial > libavcodec.hg
changeset 3256:aec4f27b1248 libavcodec
signedness error caused broken decoding
author | rfelker |
---|---|
date | Sun, 09 Apr 2006 06:53:40 +0000 |
parents | 183e3eb0824a |
children | 63f61b09dcee |
files | h263.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h263.c Sun Apr 09 06:04:00 2006 +0000 +++ b/h263.c Sun Apr 09 06:53:40 2006 +0000 @@ -553,7 +553,7 @@ #endif //CONFIG_ENCODERS -#define tab_size (sizeof(s->direct_scale_mv[0])/sizeof(int16_t)) +#define tab_size ((signed)(sizeof(s->direct_scale_mv[0])/sizeof(int16_t))) #define tab_bias (tab_size/2) static void ff_mpeg4_init_direct_mv(MpegEncContext *s){