avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
25a2d269bd
commit
4bb0409820
31 changed files with 59 additions and 57 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue