From 4bb04098204afadc8604af0113294f8ecc63a2de Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Fri, 29 Dec 2017 23:29:52 +0100 Subject: avdevice: migrate to AVFormatContext->url Signed-off-by: Marton Balint --- libavdevice/xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice/xv.c') diff --git a/libavdevice/xv.c b/libavdevice/xv.c index 185de7569e..c3ed2e48bd 100644 --- a/libavdevice/xv.c +++ b/libavdevice/xv.c @@ -151,7 +151,7 @@ static int xv_write_header(AVFormatContext *s) xv->window_width, xv->window_height, 0, 0, 0); if (!xv->window_title) { - if (!(xv->window_title = av_strdup(s->filename))) { + if (!(xv->window_title = av_strdup(s->url))) { ret = AVERROR(ENOMEM); goto fail; } -- cgit v1.2.3