Fixes: CID1591939 Logically dead code
Unified · Split
| @@ -1465,7 +1465,7 @@ dshow_open_device(AVFormatContext *avctx, ICreateDevEnum *devenum, · 1464 unmodified lines | |||
| 1465 | av_log(avctx, AV_LOG_ERROR, "Could not create CaptureGraphBuilder2\n"); | 1465 | av_log(avctx, AV_LOG_ERROR, "Could not create CaptureGraphBuilder2\n"); |
| 1466 | goto error; | 1466 | goto error; |
| 1467 | } | 1467 | } |
| 1468 | ICaptureGraphBuilder2_SetFiltergraph(graph_builder2, graph); | 1468 | r = ICaptureGraphBuilder2_SetFiltergraph(graph_builder2, graph); |
| 1469 | if (r != S_OK) { | 1469 | if (r != S_OK) { |
| 1470 | av_log(avctx, AV_LOG_ERROR, "Could not set graph for CaptureGraphBuilder2\n"); | 1470 | av_log(avctx, AV_LOG_ERROR, "Could not set graph for CaptureGraphBuilder2\n"); |
| 1471 | goto error; | 1471 | goto error; |