summaryrefslogtreecommitdiff
path: root/libavdevice/libndi_newtek_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/libndi_newtek_dec.c')
-rw-r--r--libavdevice/libndi_newtek_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/libndi_newtek_dec.c b/libavdevice/libndi_newtek_dec.c
index 2f14f4b03f..4fb719770e 100644
--- a/libavdevice/libndi_newtek_dec.c
+++ b/libavdevice/libndi_newtek_dec.c
@@ -149,7 +149,7 @@ static int ndi_read_header(AVFormatContext *avctx)
}
/* Find available sources. */
- ret = ndi_find_sources(avctx, avctx->filename, &recv_create_desc.source_to_connect_to);
+ ret = ndi_find_sources(avctx, avctx->url, &recv_create_desc.source_to_connect_to);
if (ctx->find_sources) {
return AVERROR_EXIT;
}