Commit 95b93d96 authored by rfelker's avatar rfelker

signedness error caused broken decoding


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7465e9ee
......@@ -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){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment