avcodec/ratecontrol: Avoid padding in RateControlEntry

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-04 20:41:01 +02:00
parent 685cda26aa
commit 2786d34712

View File

@ -39,6 +39,9 @@ typedef struct Predictor{
typedef struct RateControlEntry{ typedef struct RateControlEntry{
int pict_type; int pict_type;
float qscale; float qscale;
int i_count;
int f_code;
int b_code;
int mv_bits; int mv_bits;
int i_tex_bits; int i_tex_bits;
int p_tex_bits; int p_tex_bits;
@ -49,9 +52,6 @@ typedef struct RateControlEntry{
float new_qscale; float new_qscale;
int64_t mc_mb_var_sum; int64_t mc_mb_var_sum;
int64_t mb_var_sum; int64_t mb_var_sum;
int i_count;
int f_code;
int b_code;
}RateControlEntry; }RateControlEntry;
/** /**