mirror of https://git.ffmpeg.org/ffmpeg.git
signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c4e2a535b3
commit
7b98bcbd0f
|
@ -553,7 +553,7 @@ void ff_clean_mpeg4_qscales(MpegEncContext *s){
|
||||||
|
|
||||||
#endif //CONFIG_ENCODERS
|
#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)
|
#define tab_bias (tab_size/2)
|
||||||
|
|
||||||
static void ff_mpeg4_init_direct_mv(MpegEncContext *s){
|
static void ff_mpeg4_init_direct_mv(MpegEncContext *s){
|
||||||
|
|
Loading…
Reference in New Issue