diff options
author | D Richard Felker III <dalias@aerifal.cx> | 2006-04-09 06:53:40 +0000 |
---|---|---|
committer | D Richard Felker III <dalias@aerifal.cx> | 2006-04-09 06:53:40 +0000 |
commit | 7b98bcbd0f88009ea4cf4e985098cbac1f9a220e (patch) | |
tree | e3278ef48ffd08ee941ebde96a6f4b487149d215 /libavcodec | |
parent | c4e2a535b3a8b192c144acfaa9f1a7bc8b7f99f3 (diff) | |
download | ffmpeg-7b98bcbd0f88009ea4cf4e985098cbac1f9a220e.tar.gz |
signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index c1ae6b64d5..df05cbac45 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -553,7 +553,7 @@ void ff_clean_mpeg4_qscales(MpegEncContext *s){ #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){ |