summaryrefslogtreecommitdiff
path: root/libavdevice/bktr.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:29:52 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit4bb04098204afadc8604af0113294f8ecc63a2de (patch)
treed2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/bktr.c
parent25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff)
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r--libavdevice/bktr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 418247dc4e..993cc19ac7 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -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;