diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2013-08-06 21:19:27 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-07 21:16:05 +0200 |
commit | 71bf6b41d974229a06921806c333ce98566a5d8a (patch) | |
tree | d2a93bdc83ca21fb6924355682a047b30d87cc89 /libavdevice/v4l2.c | |
parent | fee9db1fdf921295233e94cbe2769f9cd722206d (diff) | |
download | ffmpeg-71bf6b41d974229a06921806c333ce98566a5d8a.tar.gz |
libavdevice: use avpriv_open()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 23d58ab006..adb289d140 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -124,7 +124,7 @@ static int device_open(AVFormatContext *ctx) flags |= O_NONBLOCK; } - fd = open(ctx->filename, flags, 0); + fd = avpriv_open(ctx->filename, flags); if (fd < 0) { err = errno; |