Skip to content

Commit cb0244d

Browse files
committed
bktr: Changed a missed occurrance of open into avpriv_open
Signed-off-by: Martin Storsjö <[email protected]>
1 parent 3323712 commit cb0244d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavdevice/bktr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static av_cold int bktr_init(const char *video_device, int width, int height,
141141
if (*tuner_fd < 0)
142142
av_log(NULL, AV_LOG_ERROR, "Warning. Tuner not opened, continuing: %s\n", strerror(errno));
143143

144-
*video_fd = open(video_device, O_RDONLY);
144+
*video_fd = avpriv_open(video_device, O_RDONLY);
145145
if (*video_fd < 0) {
146146
av_log(NULL, AV_LOG_ERROR, "%s: %s\n", video_device, strerror(errno));
147147
return -1;

0 commit comments

Comments
 (0)