bktr: Changed a missed occurrance of open into avpriv_open
authorMartin Storsjö <martin@martin.st>
Fri, 9 Aug 2013 07:16:57 +0000 (10:16 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 9 Aug 2013 21:53:32 +0000 (00:53 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavdevice/bktr.c

index 725d90f57971842812014a9f4fac6f2c055cad87..06f4d860c2d69902d37d2ed351ac7feec6a09242 100644 (file)
@@ -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;