projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ba39dd
)
Make io_buffer_size unsigned to avoid a warning about comparing
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 16 Jan 2009 16:37:54 +0000
(16:37 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 16 Jan 2009 16:37:54 +0000
(16:37 +0000)
signed and unsigned values.
Originally committed as revision 16638 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
b1e1b49
..
f3a62fe
100644
(file)
--- 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;
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;
if (max_packet_size)
io_buffer_size = max_packet_size;