projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccef714
)
bethsoftvid: use correct type for size passed to av_fast_realloc()
author
Måns Rullgård
<mans@mansr.com>
Sun, 8 Jul 2007 13:42:42 +0000
(13:42 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 8 Jul 2007 13:42:42 +0000
(13:42 +0000)
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/bethsoftvid.c
patch
|
blob
|
history
diff --git
a/libavformat/bethsoftvid.c
b/libavformat/bethsoftvid.c
index
0e73804
..
fd54fd3
100644
(file)
--- 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 in
t vidbuf_capacity;
vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE);
if(!vidbuf_start)