forked from FFmpeg/FFmpeg
Merge commit 'cb0244daaca83ab666798818f74f5181bf6bc387'
* commit 'cb0244daaca83ab666798818f74f5181bf6bc387': bktr: Changed a missed occurrance of open into avpriv_open Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
e3a296dfa5
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ static av_cold int bktr_init(const char *video_device, int width, int height,
|
||||||
if (*tuner_fd < 0)
|
if (*tuner_fd < 0)
|
||||||
av_log(NULL, AV_LOG_ERROR, "Warning. Tuner not opened, continuing: %s\n", strerror(errno));
|
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) {
|
if (*video_fd < 0) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "%s: %s\n", video_device, strerror(errno));
|
av_log(NULL, AV_LOG_ERROR, "%s: %s\n", video_device, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue