diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-29 23:29:52 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-28 23:06:43 +0100 |
commit | 4bb04098204afadc8604af0113294f8ecc63a2de (patch) | |
tree | d2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/xv.c | |
parent | 25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff) |
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/xv.c')
-rw-r--r-- | libavdevice/xv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |