]> git.sesse.net Git - ffmpeg/commitdiff
lavc/jpeg2000dec: Cosmetics, re-indent after last commit.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 15 Apr 2020 18:03:33 +0000 (20:03 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 15 Apr 2020 18:03:33 +0000 (20:03 +0200)
libavcodec/jpeg2000dec.c

index 440b856a3ad9f650630b9a098ba44e070c0e104f..af6dcee2284d259208194048e791579e269eb957 100644 (file)
@@ -406,12 +406,12 @@ static int get_siz(Jpeg2000DecoderContext *s)
         && !pix_fmt_match(s->avctx->pix_fmt, ncomponents, s->precision, log2_chroma_wh, s->pal8))
             s->avctx->pix_fmt = AV_PIX_FMT_NONE;
     if (s->avctx->pix_fmt == AV_PIX_FMT_NONE)
-    for (i = 0; i < possible_fmts_nb; ++i) {
-        if (pix_fmt_match(possible_fmts[i], ncomponents, s->precision, log2_chroma_wh, s->pal8)) {
-            s->avctx->pix_fmt = possible_fmts[i];
-            break;
+        for (i = 0; i < possible_fmts_nb; ++i) {
+            if (pix_fmt_match(possible_fmts[i], ncomponents, s->precision, log2_chroma_wh, s->pal8)) {
+                s->avctx->pix_fmt = possible_fmts[i];
+                break;
+            }
         }
-    }
 
     if (i == possible_fmts_nb) {
         if (ncomponents == 4 &&