libvpx: check if CQ level is in correct bounds
authorslhck <werner.robitza@gmail.com>
Mon, 25 Feb 2013 18:23:55 +0000 (19:23 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Feb 2013 19:13:10 +0000 (20:13 +0100)
commitbfcc38ef4815229e0aa9d8417611e0f666bb4fc7
tree5e71cbf2731bcecd510f3defa763c77b98e7b4e2
parent188947c32ad66653fa3a73a33a307e35cecd8fb8
libvpx: check if CQ level is in correct bounds

Check whether CQ level is within qmin..qmax and abort on error. If this isn't properly
set, encoding will fail at the first frame.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libvpxenc.c