dshow: avoid integer overflow when using curbufsize

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
rogerdpack 2012-08-19 06:52:03 -06:00 committed by Michael Niedermayer
parent 18263698ab
commit a966d94891

View File

@ -46,7 +46,7 @@ struct dshow_ctx {
HANDLE event;
AVPacketList *pktl;
unsigned int curbufsize;
int64_t curbufsize;
unsigned int video_frame_num;
IMediaControl *control;