[FFmpeg-cvslog] bktr: Changed a missed occurrance of open into avpriv_open

Martin Storsjö git at videolan.org
Sat Aug 10 10:36:13 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Aug  9 10:16:57 2013 +0300| [cb0244daaca83ab666798818f74f5181bf6bc387] | committer: Martin Storsjö

bktr: Changed a missed occurrance of open into avpriv_open

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb0244daaca83ab666798818f74f5181bf6bc387
---

 libavdevice/bktr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 725d90f..06f4d86 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;



More information about the ffmpeg-cvslog mailing list