X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Ffbdev_enc.c;h=4191596825069649ed31fedb72d764a8329dfb71;hb=5ac3a309fddde79db1f70269fbcbd0ba4d94d30e;hp=b4e5f849759ff34452376740a2f8522cb5bcf3a4;hpb=221d813599e4f6a276b4f862e072a0b967d70dd7;p=ffmpeg diff --git a/libavdevice/fbdev_enc.c b/libavdevice/fbdev_enc.c index b4e5f849759..41915968250 100644 --- a/libavdevice/fbdev_enc.c +++ b/libavdevice/fbdev_enc.c @@ -53,8 +53,8 @@ static av_cold int fbdev_write_header(AVFormatContext *h) return AVERROR(EINVAL); } - if (h->filename[0]) - device = h->filename; + if (h->url[0]) + device = h->url; else device = ff_fbdev_default_device();