avdevice/x11grab: use av_clip() instead of nested min & max
authorClément Bœsch <u@pkh.me>
Sat, 6 Jun 2015 10:59:46 +0000 (12:59 +0200)
committerClément Bœsch <u@pkh.me>
Sat, 6 Jun 2015 11:18:29 +0000 (13:18 +0200)
commit272f87fc5ca9fe8a0bee3f0ea2037b4626454195
tree2ec83afaadd376f86b59045c81d41783d01c2a03
parent533c37db8ddba7e698f79b7d2e5918f18a7b39e2
avdevice/x11grab: use av_clip() instead of nested min & max

Note: [xy]_off and screen_[wh] variables are int, as well as
X11GrabContext.{width,height,x_off,y_off}.
libavdevice/x11grab.c