diff options
author | rogerdpack <rogerpack2005@gmail.com> | 2012-08-19 06:52:03 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-20 20:56:45 +0200 |
commit | a966d94891cea4b571bd2cac0e94b13ec93d997a (patch) | |
tree | 0730e1b633de35bb926effae4d99b2d887274cc0 | |
parent | 18263698abeb6fc7e4f470c5ac94892af417451e (diff) | |
download | ffmpeg-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.c | 2 |
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; |