OSDN Git Service

Report an error if pitch_lag is zero in AMR-NB decoder.
authorOana Stratulat <oanaandreeastratulat@gmail.com>
Wed, 4 Jan 2012 23:08:05 +0000 (01:08 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 5 Jan 2012 05:33:14 +0000 (21:33 -0800)
commit7f09791d28c82c9169d1612a6192851837341ca9
tree35ee2f8c6bc338159144627d92a2d2a863bb26ce
parent3fa646e8590cf86d3006e76047daa255a7ecc3f7
Report an error if pitch_lag is zero in AMR-NB decoder.

This fixes an infinite loop in the decoder on specially
crafted files, and fixes bug 151.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/amrnbdec.c