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 */