]> git.sesse.net Git - ffmpeg/commit
avdevice/xcbgrab: check if frame size fits in INT_MAX
authorMarton Balint <cus@passwd.hu>
Tue, 31 Dec 2019 00:24:32 +0000 (01:24 +0100)
committerMarton Balint <cus@passwd.hu>
Fri, 24 Jan 2020 00:17:14 +0000 (01:17 +0100)
commite931119a41d0c48d1c544af89768b119b13feb4d
tree5ee67ae64ce4cfd433658bdf3d6bf43a8b20a508
parentb7e94adb4e51af75eb5cc813e5f4e790010b86c2
avdevice/xcbgrab: check if frame size fits in INT_MAX

Also fixes a possible overflow and sets stream bitrate.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/xcbgrab.c