[FFmpeg-cvslog] r24055 - trunk/libavformat/aviobuf.c
cehoyos
subversion
Mon Jul 5 11:11:45 CEST 2010
Author: cehoyos
Date: Mon Jul 5 11:11:45 2010
New Revision: 24055
Log:
Silence a warning when compiling aviobuf.c
Patch by Eli Friedman, eli d friedman a gmail
Modified:
trunk/libavformat/aviobuf.c
Modified: trunk/libavformat/aviobuf.c
==============================================================================
--- trunk/libavformat/aviobuf.c Mon Jul 5 10:16:43 2010 (r24054)
+++ trunk/libavformat/aviobuf.c Mon Jul 5 11:11:45 2010 (r24055)
@@ -605,8 +605,7 @@ static int url_resetbuf(ByteIOContext *s
#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);
More information about the ffmpeg-cvslog
mailing list