]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/fbdev_dec.c
kmsgrab: add category for kmsgrab
[ffmpeg] / libavdevice / fbdev_dec.c
index d9c75df2029b689b4c34bdf659edcf0e2972004c..6a5181686812c7e8eac06b8ccb02adee3a8ca891 100644 (file)
@@ -78,8 +78,8 @@ static av_cold int fbdev_read_header(AVFormatContext *avctx)
     if (avctx->flags & AVFMT_FLAG_NONBLOCK)
         flags |= O_NONBLOCK;
 
-    if (avctx->filename[0])
-        device = avctx->filename;
+    if (avctx->url[0])
+        device = avctx->url;
     else
         device = ff_fbdev_default_device();