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/fbdev.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/fbdev.c')
-rw-r--r-- | libavdevice/fbdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c index b820a4a16d..22c53a3c1d 100644 --- a/libavdevice/fbdev.c +++ b/libavdevice/fbdev.c @@ -34,6 +34,7 @@ #include <time.h> #include <linux/fb.h> +#include "libavutil/internal.h" #include "libavutil/log.h" #include "libavutil/mem.h" #include "libavutil/opt.h" @@ -114,7 +115,7 @@ static av_cold int fbdev_read_header(AVFormatContext *avctx) if (avctx->flags & AVFMT_FLAG_NONBLOCK) flags |= O_NONBLOCK; - if ((fbdev->fd = open(avctx->filename, flags)) == -1) { + if ((fbdev->fd = avpriv_open(avctx->filename, flags)) == -1) { ret = AVERROR(errno); av_log(avctx, AV_LOG_ERROR, "Could not open framebuffer device '%s': %s\n", |