mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avcodec/mpegvideo_enc: Constify pointers to static storage
These must not be modified (even when they are initialized at runtime and therefore modifiable). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
b28bf830cd
commit
390dbcb8b8
@ -3914,8 +3914,7 @@ static int dct_quantize_trellis_c(MpegEncContext *s,
|
||||
int coeff_count[64];
|
||||
int qmul, qadd, start_i, last_non_zero, i, dc;
|
||||
const int esc_length= s->ac_esc_length;
|
||||
uint8_t * length;
|
||||
uint8_t * last_length;
|
||||
const uint8_t *length, *last_length;
|
||||
const int lambda= s->lambda2 >> (FF_LAMBDA_SHIFT - 6);
|
||||
int mpeg2_qscale;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user