aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-10-06 11:40:09 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-10-06 11:40:09 +0000
commit0ada32c37338c654d51ffc64254c722a6c8d7454 (patch)
treee55adccf2b4b3b49f9651cb6cb4b897bed252221 /libavformat
parentfe5feaeb7629c94f26814a44c0269e09fabf2947 (diff)
downloadffmpeg-0ada32c37338c654d51ffc64254c722a6c8d7454.tar.gz
Remove unused variable.
Originally committed as revision 25369 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 2dae492ad1..9a4d7355c5 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -246,7 +246,6 @@ int url_read_complete(URLContext *h, unsigned char *buf, int size)
int url_write(URLContext *h, const unsigned char *buf, int size)
{
- int ret;
if (!(h->flags & (URL_WRONLY | URL_RDWR)))
return AVERROR(EIO);
/* avoid sending too big packets */