diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-08 13:42:42 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-08 13:42:42 +0000 |
commit | fae3a361beb36d92b9840f8054262b8d88fa3658 (patch) | |
tree | bdd58be75e010dc6564a8b3797bc49dbae438f68 /libavformat/bethsoftvid.c | |
parent | ccef714035011e8397e89629185a04c6aaf09370 (diff) | |
download | ffmpeg-fae3a361beb36d92b9840f8054262b8d88fa3658.tar.gz |
bethsoftvid: use correct type for size passed to av_fast_realloc()
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/bethsoftvid.c')
-rw-r--r-- | libavformat/bethsoftvid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c index 0e73804f43..fd54fd3143 100644 --- a/libavformat/bethsoftvid.c +++ b/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) |