aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrogerdpack <rogerpack2005@gmail.com>2012-08-19 06:52:03 -0600
committerMichael Niedermayer <michaelni@gmx.at>2012-08-20 20:56:45 +0200
commita966d94891cea4b571bd2cac0e94b13ec93d997a (patch)
tree0730e1b633de35bb926effae4d99b2d887274cc0
parent18263698abeb6fc7e4f470c5ac94892af417451e (diff)
downloadffmpeg-a966d94891cea4b571bd2cac0e94b13ec93d997a.tar.gz
dshow: avoid integer overflow when using curbufsize
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index ac207b8b15..0d1987be28 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -46,7 +46,7 @@ struct dshow_ctx {
HANDLE event;
AVPacketList *pktl;
- unsigned int curbufsize;
+ int64_t curbufsize;
unsigned int video_frame_num;
IMediaControl *control;