diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-06-01 15:53:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-06-02 00:56:53 +0100 |
commit | bb95218b7363ad5c77a7e900112b75dccc6780b3 (patch) | |
tree | 0c4a6f7602ea11c11c99ce6966830af3dbbbf358 /ext/shout | |
parent | 52904d717502f0777467d3ae59bfea30f1d0968b (diff) | |
download | gst-plugins-bad-bb95218b7363ad5c77a7e900112b75dccc6780b3.tar.gz gst-plugins-bad-bb95218b7363ad5c77a7e900112b75dccc6780b3.tar.bz2 gst-plugins-bad-bb95218b7363ad5c77a7e900112b75dccc6780b3.zip |
aacparse: fix sample rate extraction from codec data
In one case we extracted the sample rate index from the codec data
and saved it as sample rate rather than getting the real sample
rate from the table. Fix that, and also make sure we don't access
non-existant table entries by adding a small helper function that
guards against out-of-bounds access in case of invalid input data.
Diffstat (limited to 'ext/shout')
0 files changed, 0 insertions, 0 deletions