OSDN Git Service

flacenc: ensure the order is within the min/max range in LPC order search
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 7 Nov 2012 19:48:28 +0000 (14:48 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 8 Nov 2012 18:57:34 +0000 (13:57 -0500)
commit3a2731cbd31d0c5681ddbc7c78edd5c53c4d0032
tree0a19a2ff632caee86c12ccebca8b265d39981c4e
parent3ba416408aef99b4d7d92719c0a03dc2c9647025
flacenc: ensure the order is within the min/max range in LPC order search

This fixes use of uninitialized values when the FLAC encoder uses the
2-level, 4-level, and 8-level search methods. Fixes failure of the
fate-flac-24-comp-8 test when run using valgrind.
libavcodec/flacenc.c