cropscale: prevent crash when scale dimensions too small
commitda2c60246cca47b47e0293a8aa1063f3fcbf6bb9
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 24 Aug 2015 15:40:24 +0000 (24 15:40 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 24 Aug 2015 15:40:24 +0000 (24 15:40 +0000)
tree5fb026271a9c6dc189dc33c229ef14bd163239fb
parentd448438cadced0592ee52ea6851966ee398f9a20
cropscale: prevent crash when scale dimensions too small

This will result in no video in the output file, but in such cases, this
might actually be desirable.  Scaling to such small dimensions is often
used simply to re-encode audio.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7412 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/cropscale.c
libhb/hb.c