summaryrefslogtreecommitdiff
path: root/libavcodec/msmpeg4enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-10 07:33:46 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-27 00:52:03 +0200
commit63b2b0f47df420007c53888ce0e8383d24b8fb06 (patch)
treebdc0c1ff8eb623ff239ca207cdc6f1412f6b2e01 /libavcodec/msmpeg4enc.c
parentf4d16c3865b478b3619021bbf5b9827f99a8f710 (diff)
avcodec/msmpeg4enc: Reindent after the last commit
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/msmpeg4enc.c')
-rw-r--r--libavcodec/msmpeg4enc.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/libavcodec/msmpeg4enc.c b/libavcodec/msmpeg4enc.c
index 73a5ea09dd..a4efbd34e6 100644
--- a/libavcodec/msmpeg4enc.c
+++ b/libavcodec/msmpeg4enc.c
@@ -118,23 +118,19 @@ static int get_size_of_code(const RLTable *rl, int last, int run,
static av_cold void msmpeg4_encode_init_static(void)
{
- int i;
- static uint16_t mv_index_tables[2][4096];
- init_mv_table(&ff_mv_tables[0], mv_index_tables[0]);
- init_mv_table(&ff_mv_tables[1], mv_index_tables[1]);
-
- for(i=0; i<NB_RL_TABLES; i++){
- int level;
- for (level = 1; level <= MAX_LEVEL; level++) {
- int run;
- for(run=0; run<=MAX_RUN; run++){
- int last;
- for(last=0; last<2; last++){
- rl_length[i][level][run][last] = get_size_of_code(&ff_rl_table[i], last, run, level, 0);
- }
+ static uint16_t mv_index_tables[2][4096];
+ init_mv_table(&ff_mv_tables[0], mv_index_tables[0]);
+ init_mv_table(&ff_mv_tables[1], mv_index_tables[1]);
+
+ for (int i = 0; i < NB_RL_TABLES; i++) {
+ for (int level = 1; level <= MAX_LEVEL; level++) {
+ for (int run = 0; run <= MAX_RUN; run++) {
+ for (int last = 0; last < 2; last++) {
+ rl_length[i][level][run][last] = get_size_of_code(&ff_rl_table[i], last, run, level, 0);
}
}
}
+ }
}
av_cold void ff_msmpeg4_encode_init(MpegEncContext *s)