You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avcodec/ratecontrol: silence "warning: expected_bits may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -920,7 +920,7 @@ static int init_pass2(MpegEncContext *s)
|
||||
double rate_factor = 0;
|
||||
double step;
|
||||
const int filter_size = (int)(a->qblur * 4) | 1;
|
||||
double expected_bits;
|
||||
double expected_bits = 0; // init to silence gcc warning
|
||||
double *qscale, *blurred_qscale, qscale_sum;
|
||||
|
||||
/* find complexity & const_bits & decide the pict_types */
|
||||
|
Reference in New Issue
Block a user