From fae3a361beb36d92b9840f8054262b8d88fa3658 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 8 Jul 2007 13:42:42 +0000
Subject: [PATCH] bethsoftvid: use correct type for size passed to
 av_fast_realloc()

Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/bethsoftvid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c
index 0e73804f438..fd54fd31430 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)
-- 
GitLab