bethsoftvid: use correct type for size passed to av_fast_realloc()
authorMåns Rullgård <mans@mansr.com>
Sun, 8 Jul 2007 13:42:42 +0000 (13:42 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 8 Jul 2007 13:42:42 +0000 (13:42 +0000)
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/bethsoftvid.c

index 0e73804..fd54fd3 100644 (file)
@@ -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)