aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-01-16 16:37:54 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-01-16 16:37:54 +0000
commit2bdaf78c524bfa48bc6039662cec04e1d8a3d342 (patch)
tree8ba6658375ac004abbc351216fb3aebabc0f983c /libavformat/aviobuf.c
parent0ba39dd1a9ec8ee0fd798ba6daf90d0cc36e17f2 (diff)
downloadffmpeg-2bdaf78c524bfa48bc6039662cec04e1d8a3d342.tar.gz
Make io_buffer_size unsigned to avoid a warning about comparing
signed and unsigned values. Originally committed as revision 16638 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index b1e1b49a7e..f3a62fe41e 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -783,7 +783,8 @@ static int64_t dyn_buf_seek(void *opaque, int64_t offset, int whence)
static int url_open_dyn_buf_internal(ByteIOContext **s, int max_packet_size)
{
DynBuffer *d;
- int io_buffer_size, ret;
+ int ret;
+ unsigned io_buffer_size;
if (max_packet_size)
io_buffer_size = max_packet_size;