[FFmpeg-cvslog] avdevice/dshow: fix badly indented line

Michael Niedermayer git at videolan.org
Fri Jun 14 22:20:22 EEST 2024


ffmpeg | branch: release/4.3 | Michael Niedermayer <michael at niedermayer.cc> | Mon May 27 00:50:02 2024 +0200| [6b0671a6442da2ba14837a976b56d0e6043dca58] | committer: Michael Niedermayer

avdevice/dshow: fix badly indented line

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit c4004605b2fa6e2ecbd1cfc2a1da382e4f5237a5)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavdevice/dshow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index d7f5bd7069..6640024631 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -778,7 +778,7 @@ dshow_open_device(AVFormatContext *avctx, ICreateDevEnum *devenum,
             goto error;
         }
     }
-        if (ctx->device_filter[otherDevType]) {
+    if (ctx->device_filter[otherDevType]) {
         // avoid adding add two instances of the same device to the graph, one for video, one for audio
         // a few devices don't support this (could also do this check earlier to avoid double crossbars, etc. but they seem OK)
         if (strcmp(device_filter_unique_name, ctx->device_unique_name[otherDevType]) == 0) {



More information about the ffmpeg-cvslog mailing list