mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
dshow: indent
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
This commit is contained in:
parent
1c282f96ab
commit
f0c64d0d0b
@ -265,10 +265,10 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
|
|||||||
buf = dup_wchar_to_utf8(var.bstrVal);
|
buf = dup_wchar_to_utf8(var.bstrVal);
|
||||||
|
|
||||||
if (pfilter) {
|
if (pfilter) {
|
||||||
if (strcmp(device_name, buf))
|
if (strcmp(device_name, buf))
|
||||||
goto fail1;
|
goto fail1;
|
||||||
|
|
||||||
IMoniker_BindToObject(m, 0, 0, &IID_IBaseFilter, (void *) &device_filter);
|
IMoniker_BindToObject(m, 0, 0, &IID_IBaseFilter, (void *) &device_filter);
|
||||||
} else {
|
} else {
|
||||||
av_log(avctx, AV_LOG_INFO, " \"%s\"\n", buf);
|
av_log(avctx, AV_LOG_INFO, " \"%s\"\n", buf);
|
||||||
}
|
}
|
||||||
@ -284,12 +284,12 @@ fail1:
|
|||||||
IEnumMoniker_Release(classenum);
|
IEnumMoniker_Release(classenum);
|
||||||
|
|
||||||
if (pfilter) {
|
if (pfilter) {
|
||||||
if (!device_filter) {
|
if (!device_filter) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Could not find %s device.\n",
|
av_log(avctx, AV_LOG_ERROR, "Could not find %s device.\n",
|
||||||
devtypename);
|
devtypename);
|
||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
}
|
}
|
||||||
*pfilter = device_filter;
|
*pfilter = device_filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user