Commit fae3a361 authored by Måns Rullgård's avatar Måns Rullgård

bethsoftvid: use correct type for size passed to av_fast_realloc()

Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ccef7140
...@@ -104,7 +104,7 @@ static int read_frame(BVID_DemuxContext *vid, ByteIOContext *pb, AVPacket *pkt, ...@@ -104,7 +104,7 @@ static int read_frame(BVID_DemuxContext *vid, ByteIOContext *pb, AVPacket *pkt,
int code; int code;
int bytes_copied = 0; int bytes_copied = 0;
int position; int position;
size_t vidbuf_capacity; unsigned int vidbuf_capacity;
vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE); vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE);
if(!vidbuf_start) if(!vidbuf_start)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment