iir: change filter type if/else to a switch.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 20 Jan 2011 21:59:23 +0000 (21:59 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Jan 2011 19:36:01 +0000 (20:36 +0100)
commita994f861965ce9837d0c7089b8f358c682604729
tree9acd9f5764a7512a6a29e18645b043a1662a9f25
parentaa226b246007d71fd2e3c9ddf8e83d9c85df3317
iir: change filter type if/else to a switch.

Simplifies error handling and makes it easier to add additional filter types.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 0361d13cf3956dcf38f31b9df97aca9301cdc86a)
libavcodec/iirfilter.c