X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Flibndi_newtek_dec.c;h=4fb719770e57c8cbc0dcdf29e563d85974c93e41;hb=d7239944499687b4329ac3484d0b00bd92617847;hp=2f14f4b03fd77e1fca34eae6878f32b727ede725;hpb=374f818bfbc5f7ad3a88f6a17770abb14abec4d1;p=ffmpeg diff --git a/libavdevice/libndi_newtek_dec.c b/libavdevice/libndi_newtek_dec.c index 2f14f4b03fd..4fb719770e5 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; }