aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2011-09-09 00:15:22 -0300
committerStefano Sabatini <stefasab@gmail.com>2011-09-16 11:09:47 +0200
commit01b997b9587c054cb38e832d5bd2767babf3a07d (patch)
tree6b49a6041ac59db1d76a4f78243de6c5f6f857a4 /libavdevice
parent0883a7fa3bf71c491b9a21d95af0e89b2033d26b (diff)
downloadffmpeg-01b997b9587c054cb38e832d5bd2767babf3a07d.tar.gz
dshow: indent
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dshow.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 8e37853aca..5f155e686e 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;