g726enc: use av_assert0() for sample_rate validation
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 28 Oct 2011 00:47:08 +0000 (20:47 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 2 Nov 2011 01:23:03 +0000 (21:23 -0400)
commit50c466d609ec60a324a7a776dfdb57c8d38faa11
treed9bc36b0dbe8fc9d1ac878c16e0d12c060051fd5
parent9e78d8cfdf915bd8704f544df84402a4b36dfb72
g726enc: use av_assert0() for sample_rate validation

This should never happen, but the check avoids a divide-by-zero.
libavcodec/g726.c