aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-02-09 10:31:34 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2022-03-28 23:18:55 +0200
commite086aeb79215ac80aeb067fe87ecb1a57b031eb6 (patch)
treea436e4ab8b564057dee0bebe186945542e2293b6
parent2e901b130415014b765024903f5268c62cf73f95 (diff)
downloadffmpeg-e086aeb79215ac80aeb067fe87ecb1a57b031eb6.tar.gz
avcodec/motion_est: fix indention of ff_get_best_fcode()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ce43e1c581b4ed539ab366cc3df458779e8a44b8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/motion_est.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 1f8b9c1b7c..b79e22c422 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -1622,9 +1622,9 @@ int ff_get_best_fcode(MpegEncContext * s, int16_t (*mv_table)[2], int type)
fcode_tab[my + MAX_MV]);
int j;
- if(mx >= range || mx < -range ||
- my >= range || my < -range)
- continue;
+ if (mx >= range || mx < -range ||
+ my >= range || my < -range)
+ continue;
for(j=0; j<fcode && j<8; j++){
if(s->pict_type==AV_PICTURE_TYPE_B || s->current_picture.mc_mb_var[xy] < s->current_picture.mb_var[xy])