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:
0712c23
)
Silence a warning when compiling aviobuf.c
author
Eli Friedman
<eli.friedman@gmail.com>
Mon, 5 Jul 2010 09:11:45 +0000
(09:11 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 5 Jul 2010 09:11:45 +0000
(09:11 +0000)
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24055 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
df4ea60
..
d97ffd5
100644
(file)
--- a/
libavformat/aviobuf.c
+++ b/
libavformat/aviobuf.c
@@
-605,8
+605,7
@@
static int url_resetbuf(ByteIOContext *s, int flags)
#endif
{
#if LIBAVFORMAT_VERSION_MAJOR < 53
- URLContext *h = s->opaque;
- if ((flags & URL_RDWR) || (h && h->flags != flags && !h->flags & URL_RDWR))
+ if (flags & URL_RDWR)
return AVERROR(EINVAL);
#else
assert(flags == URL_WRONLY || flags == URL_RDONLY);