[FFmpeg-cvslog] dshow: indent

Ramiro Polla git at videolan.org
Fri Sep 16 11:18:19 CEST 2011


ffmpeg | branch: master | Ramiro Polla <ramiro.polla at gmail.com> | Fri Sep  9 00:15:22 2011 -0300| [01b997b9587c054cb38e832d5bd2767babf3a07d] | committer: Stefano Sabatini

dshow: indent

Signed-off-by: Stefano Sabatini <stefasab at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01b997b9587c054cb38e832d5bd2767babf3a07d
---

 libavdevice/dshow.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 8e37853..5f155e6 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -433,7 +433,7 @@ end:
     if (caps)
         av_free(caps);
     if (pformat_set)
-    *pformat_set = format_set;
+        *pformat_set = format_set;
 }
 
 /**
@@ -528,16 +528,16 @@ next:
     IEnumPins_Release(pins);
 
     if (ppin) {
-    if (set_format && !format_set) {
-        av_log(avctx, AV_LOG_ERROR, "Could not set %s options\n", devtypename);
-        return AVERROR(EIO);
-    }
-    if (!device_pin) {
-        av_log(avctx, AV_LOG_ERROR,
-               "Could not find output pin from %s capture device.\n", devtypename);
-        return AVERROR(EIO);
-    }
-    *ppin = device_pin;
+        if (set_format && !format_set) {
+            av_log(avctx, AV_LOG_ERROR, "Could not set %s options\n", devtypename);
+            return AVERROR(EIO);
+        }
+        if (!device_pin) {
+            av_log(avctx, AV_LOG_ERROR,
+                "Could not find output pin from %s capture device.\n", devtypename);
+            return AVERROR(EIO);
+        }
+        *ppin = device_pin;
     }
 
     return 0;



More information about the ffmpeg-cvslog mailing list