Browse Source

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

Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 18 years ago
parent
commit
fae3a361be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/bethsoftvid.c

+ 1
- 1
libavformat/bethsoftvid.c View 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)


Loading…
Cancel
Save