aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-04 20:41:01 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 10:37:11 +0200
commit2786d34712491dbd74a3f3cead3eac5fe99af97d (patch)
tree31921193945fdf9c24a3939aeb1f94a724fa53f7 /libavcodec
parent685cda26aa03a1cf54c701d4399909d784f0dcce (diff)
downloadffmpeg-2786d34712491dbd74a3f3cead3eac5fe99af97d.tar.gz
avcodec/ratecontrol: Avoid padding in RateControlEntry
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ratecontrol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ratecontrol.h b/libavcodec/ratecontrol.h
index 1b49889f75..4d71a181b5 100644
--- a/libavcodec/ratecontrol.h
+++ b/libavcodec/ratecontrol.h
@@ -39,6 +39,9 @@ typedef struct Predictor{
typedef struct RateControlEntry{
int pict_type;
float qscale;
+ int i_count;
+ int f_code;
+ int b_code;
int mv_bits;
int i_tex_bits;
int p_tex_bits;
@@ -49,9 +52,6 @@ typedef struct RateControlEntry{
float new_qscale;
int64_t mc_mb_var_sum;
int64_t mb_var_sum;
- int i_count;
- int f_code;
- int b_code;
}RateControlEntry;
/**