mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-13 17:07:21 +00:00
1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1785,7 +1785,7 @@ static void init_mv_penalty_and_fcode(MpegEncContext *s)
|
||||
else{
|
||||
int val, bit_size, range, code;
|
||||
|
||||
bit_size = s->f_code - 1;
|
||||
bit_size = f_code - 1;
|
||||
range = 1 << bit_size;
|
||||
|
||||
val=mv;
|
||||
|
||||
@@ -796,7 +796,7 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
|
||||
else{
|
||||
int val, bit_size, range, code;
|
||||
|
||||
bit_size = s->f_code - 1;
|
||||
bit_size = f_code - 1;
|
||||
range = 1 << bit_size;
|
||||
|
||||
val=mv;
|
||||
|
||||
Reference in New Issue
Block a user