You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpeg4videoenc: Use smaller scope for variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -238,11 +238,10 @@ static inline int decide_ac_pred(MPVEncContext *const s, int16_t block[6][64],
|
|||||||
*/
|
*/
|
||||||
void ff_clean_mpeg4_qscales(MPVEncContext *const s)
|
void ff_clean_mpeg4_qscales(MPVEncContext *const s)
|
||||||
{
|
{
|
||||||
int8_t *const qscale_table = s->c.cur_pic.qscale_table;
|
|
||||||
|
|
||||||
ff_clean_h263_qscales(s);
|
ff_clean_h263_qscales(s);
|
||||||
|
|
||||||
if (s->c.pict_type == AV_PICTURE_TYPE_B) {
|
if (s->c.pict_type == AV_PICTURE_TYPE_B) {
|
||||||
|
int8_t *const qscale_table = s->c.cur_pic.qscale_table;
|
||||||
int odd = 0;
|
int odd = 0;
|
||||||
/* ok, come on, this isn't funny anymore, there's more code for
|
/* ok, come on, this isn't funny anymore, there's more code for
|
||||||
* handling this MPEG-4 mess than for the actual adaptive quantization */
|
* handling this MPEG-4 mess than for the actual adaptive quantization */
|
||||||
|
Reference in New Issue
Block a user