diff options
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; } |