]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/fbdev_enc.c
avcodec/h264_parser: Reduce needed history for parsing mb index
[ffmpeg] / libavdevice / fbdev_enc.c
index b4e5f849759ff34452376740a2f8522cb5bcf3a4..4191596825069649ed31fedb72d764a8329dfb71 100644 (file)
@@ -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();