summaryrefslogtreecommitdiff
path: root/libavdevice/bktr.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-09 10:16:57 +0300
committerMartin Storsjö <martin@martin.st>2013-08-10 00:53:32 +0300
commitcb0244daaca83ab666798818f74f5181bf6bc387 (patch)
tree30017f64cfc2e3169fc1a7b803f566eb4f42bdc4 /libavdevice/bktr.c
parent33237123c83bf4f8345e6ac889ad2e7dbd303d0e (diff)
downloadffmpeg-cb0244daaca83ab666798818f74f5181bf6bc387.tar.gz
bktr: Changed a missed occurrance of open into avpriv_open
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r--libavdevice/bktr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 725d90f579..06f4d860c2 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -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;