mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
bethsoftvid: use correct type for size passed to av_fast_realloc()
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ccef714035
commit
fae3a361be
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user