summaryrefslogtreecommitdiffstats
path: root/ext/metadata/metadatatypes.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-01 15:53:27 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-02 00:56:53 +0100
commitbb95218b7363ad5c77a7e900112b75dccc6780b3 (patch)
tree0c4a6f7602ea11c11c99ce6966830af3dbbbf358 /ext/metadata/metadatatypes.h
parent52904d717502f0777467d3ae59bfea30f1d0968b (diff)
downloadgst-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/metadata/metadatatypes.h')
0 files changed, 0 insertions, 0 deletions