mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
bktr: Changed a missed occurrance of open into avpriv_open
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
33237123c8
commit
cb0244daac
@ -141,7 +141,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…
x
Reference in New Issue
Block a user