[FFmpeg-devel] libavformat/utils: Fix code indentation

Submitted by Linjie Fu on Dec. 2, 2019, 1:53 a.m.

Details

Message ID 1575251627-18654-1-git-send-email-linjie.fu@intel.com
State Accepted
Commit 8fc8bdddbf7355ea206fad0c66a42eba6a2904bb
Headers show

Commit Message

Linjie Fu Dec. 2, 2019, 1:53 a.m.
Introduced since 077939626eeaa0c1364065414c18ab9b3a072281.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
---
 libavformat/utils.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Comments

Michael Niedermayer Dec. 3, 2019, 8:54 a.m.
On Mon, Dec 02, 2019 at 09:53:47AM +0800, Linjie Fu wrote:
> Introduced since 077939626eeaa0c1364065414c18ab9b3a072281.
> 
> Signed-off-by: Linjie Fu <linjie.fu@intel.com>
> ---
>  libavformat/utils.c | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)

will apply

thx

[...]

Patch hide | download patch | download mbox

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 8196442..4d18880 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3776,18 +3776,18 @@  FF_ENABLE_DEPRECATION_WARNINGS
         }
         analyzed_all_streams = 0;
         if (!missing_streams || !*missing_streams)
-        if (i == ic->nb_streams) {
-            analyzed_all_streams = 1;
-            /* NOTE: If the format has no header, then we need to read some
-             * packets to get most of the streams, so we cannot stop here. */
-            if (!(ic->ctx_flags & AVFMTCTX_NOHEADER)) {
-                /* If we found the info for all the codecs, we can stop. */
-                ret = count;
-                av_log(ic, AV_LOG_DEBUG, "All info found\n");
-                flush_codecs = 0;
-                break;
+            if (i == ic->nb_streams) {
+                analyzed_all_streams = 1;
+                /* NOTE: If the format has no header, then we need to read some
+                 * packets to get most of the streams, so we cannot stop here. */
+                if (!(ic->ctx_flags & AVFMTCTX_NOHEADER)) {
+                    /* If we found the info for all the codecs, we can stop. */
+                    ret = count;
+                    av_log(ic, AV_LOG_DEBUG, "All info found\n");
+                    flush_codecs = 0;
+                    break;
+                }
             }
-        }
         /* We did not get all the codec info, but we read too much data. */
         if (read_size >= probesize) {
             ret = count;