psymodel: dont apply lowpass filters with a cutoff close to the nyquist
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Mar 2013 18:28:30 +0000 (19:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Mar 2013 18:28:30 +0000 (19:28 +0100)
commitfee5da6b0a79bed9dc849f216b6da1e03132b668
treedff559692998053a402e1b3381d2dc4133b31443
parentcada996528422907b8b818e99029a8e3b97cf08d
psymodel: dont apply lowpass filters with a cutoff close to the nyquist

The IIR filter numerically diverges in such cases, this could easily be
fixed but would make the filter slower on some platforms

Fixes Ticket2246

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