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
This commit is contained in:
Reimar Döffinger 2009-01-16 16:37:54 +00:00
parent 0ba39dd1a9
commit 2bdaf78c52

View File

@ -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) static int url_open_dyn_buf_internal(ByteIOContext **s, int max_packet_size)
{ {
DynBuffer *d; DynBuffer *d;
int io_buffer_size, ret; int ret;
unsigned io_buffer_size;
if (max_packet_size) if (max_packet_size)
io_buffer_size = max_packet_size; io_buffer_size = max_packet_size;