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

Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 18 years ago
parent ccef714035
commit fae3a361be
  1. 2
      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)

Loading…
Cancel
Save