]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/bktr.c
avcodec/h264_parser: Reduce needed history for parsing mb index
[ffmpeg] / libavdevice / bktr.c
index 418247dc4eb5ede08a1dc4b28c3c2539865ca5c0..993cc19ac7c796fc3964fb038b5ac2dc0d223a7d 100644 (file)
@@ -294,7 +294,7 @@ static int grab_read_header(AVFormatContext *s1)
     st->codecpar->height = s->height;
     st->avg_frame_rate = framerate;
 
-    if (bktr_init(s1->filename, s->width, s->height, s->standard,
+    if (bktr_init(s1->url, s->width, s->height, s->standard,
                   &s->video_fd, &s->tuner_fd, -1, 0.0) < 0) {
         ret = AVERROR(EIO);
         goto out;