OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bf6b4
)
libavformat: use avpriv_open()
author
Rémi Denis-Courmont
<remi@remlab.net>
Tue, 6 Aug 2013 18:19:28 +0000
(21:19 +0300)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 7 Aug 2013 19:22:03 +0000
(21:22 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/file.c
patch
|
blob
|
history
diff --git
a/libavformat/file.c
b/libavformat/file.c
index
c552a9e
..
2837e9f
100644
(file)
--- a/
libavformat/file.c
+++ b/
libavformat/file.c
@@
-20,6
+20,7
@@
*/
#include "libavutil/avstring.h"
+#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include <fcntl.h>
@@
-110,7
+111,7
@@
static int file_open(URLContext *h, const char *filename, int flags)
#ifdef O_BINARY
access |= O_BINARY;
#endif
- fd = open(filename, access, 0666);
+ fd =
avpriv_
open(filename, access, 0666);
if (fd == -1)
return AVERROR(errno);
c->fd = fd;