Browse Source

dshow: indent

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
tags/n0.9
Ramiro Polla Stefano Sabatini 14 years ago
parent
commit
01b997b958
1 changed files with 11 additions and 11 deletions
  1. +11
    -11
      libavdevice/dshow.c

+ 11
- 11
libavdevice/dshow.c View File

@@ -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;


Loading…
Cancel
Save