mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
18263698ab
commit
a966d94891
|
@ -46,7 +46,7 @@ struct dshow_ctx {
|
||||||
HANDLE event;
|
HANDLE event;
|
||||||
AVPacketList *pktl;
|
AVPacketList *pktl;
|
||||||
|
|
||||||
unsigned int curbufsize;
|
int64_t curbufsize;
|
||||||
unsigned int video_frame_num;
|
unsigned int video_frame_num;
|
||||||
|
|
||||||
IMediaControl *control;
|
IMediaControl *control;
|
||||||
|
|
Loading…
Reference in New Issue