aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2011-09-09 00:09:42 -0300
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-09-12 19:22:13 +0200
commitf0c64d0d0b16162a46d7b88d09ac0801a94e59a7 (patch)
treeed921262931e59f9f3d4aba3d0ce5eb4227b02f1 /libavdevice
parent1c282f96ab78874cd968ea37b7342bb2d341a84a (diff)
downloadffmpeg-f0c64d0d0b16162a46d7b88d09ac0801a94e59a7.tar.gz
dshow: indent
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dshow.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 2c298b2dda..7035337c9d 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -265,10 +265,10 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
buf = dup_wchar_to_utf8(var.bstrVal);
if (pfilter) {
- if (strcmp(device_name, buf))
- goto fail1;
+ if (strcmp(device_name, buf))
+ goto fail1;
- IMoniker_BindToObject(m, 0, 0, &IID_IBaseFilter, (void *) &device_filter);
+ IMoniker_BindToObject(m, 0, 0, &IID_IBaseFilter, (void *) &device_filter);
} else {
av_log(avctx, AV_LOG_INFO, " \"%s\"\n", buf);
}
@@ -284,12 +284,12 @@ fail1:
IEnumMoniker_Release(classenum);
if (pfilter) {
- if (!device_filter) {
- av_log(avctx, AV_LOG_ERROR, "Could not find %s device.\n",
- devtypename);
- return AVERROR(EIO);
- }
- *pfilter = device_filter;
+ if (!device_filter) {
+ av_log(avctx, AV_LOG_ERROR, "Could not find %s device.\n",
+ devtypename);
+ return AVERROR(EIO);
+ }
+ *pfilter = device_filter;
}
return 0;