aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-08 13:42:42 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-08 13:42:42 +0000
commitfae3a361beb36d92b9840f8054262b8d88fa3658 (patch)
treebdd58be75e010dc6564a8b3797bc49dbae438f68
parentccef714035011e8397e89629185a04c6aaf09370 (diff)
downloadffmpeg-fae3a361beb36d92b9840f8054262b8d88fa3658.tar.gz
bethsoftvid: use correct type for size passed to av_fast_realloc()
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/bethsoftvid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c
index 0e73804f43..fd54fd3143 100644
--- a/libavformat/bethsoftvid.c
+++ b/libavformat/bethsoftvid.c
@@ -104,7 +104,7 @@ static int read_frame(BVID_DemuxContext *vid, ByteIOContext *pb, AVPacket *pkt,
int code;
int bytes_copied = 0;
int position;
- size_t vidbuf_capacity;
+ unsigned int vidbuf_capacity;
vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE);
if(!vidbuf_start)