Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrogerdpack <rogerpack2005@gmail.com>2012-08-19 16:52:03 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-20 22:56:45 +0400
commita966d94891cea4b571bd2cac0e94b13ec93d997a (patch)
tree0730e1b633de35bb926effae4d99b2d887274cc0 /libavdevice
parent18263698abeb6fc7e4f470c5ac94892af417451e (diff)
dshow: avoid integer overflow when using curbufsize
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-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;