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