Skip to content
Snippets Groups Projects
Commit cb0244da authored by Martin Storsjö's avatar Martin Storsjö
Browse files

bktr: Changed a missed occurrance of open into avpriv_open

parent 33237123
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ static av_cold int bktr_init(const char *video_device, int width, int height,
if (*tuner_fd < 0)
av_log(NULL, AV_LOG_ERROR, "Warning. Tuner not opened, continuing: %s\n", strerror(errno));
*video_fd = open(video_device, O_RDONLY);
*video_fd = avpriv_open(video_device, O_RDONLY);
if (*video_fd < 0) {
av_log(NULL, AV_LOG_ERROR, "%s: %s\n", video_device, strerror(errno));
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment