Don't use nested loops to iterate valid sample rates.
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 14 Dec 2010 14:52:25 +0000 (14:52 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 14 Dec 2010 14:52:25 +0000 (14:52 +0000)
commit99ca4f73f0a2085d8b3c7636f4734825894c42dc
treed2ec3859394b59001b393a79037d5595615c4c60
parent1607db0a95a1e07b6f7e51fc7db6456b65059860
Don't use nested loops to iterate valid sample rates.
Eliminates a goto and mirrors the bitrate validation.

Originally committed as revision 25980 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c