diff options
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; |