diff options
author | waker <wakeroid@gmail.com> | 2011-03-21 22:05:01 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-21 22:05:01 +0100 |
commit | 63d20539742a50dee44f13325825ee72efd284cb (patch) | |
tree | d0852a81ba8bc8fc6ce885ac0d48bb789c86657e /plugins/aac/aac_parser.c | |
parent | b4d4b4d333359091e4b056d8a3fc48448fb60104 (diff) |
fixed downsampled aac duration / seeking
Diffstat (limited to 'plugins/aac/aac_parser.c')
-rw-r--r-- | plugins/aac/aac_parser.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/aac/aac_parser.c b/plugins/aac/aac_parser.c index 7ab63d42..07c1ca6a 100644 --- a/plugins/aac/aac_parser.c +++ b/plugins/aac/aac_parser.c @@ -93,9 +93,6 @@ aac_sync(const uint8_t *buf, int *channels, int *sample_rate, int *bit_rate, int *channels = aac_channels[channel_conf]; *sample_rate = aac_sample_rates[sample_freq_index]; - if (*sample_rate <= 24000) { - *sample_rate *= 2; - } *samples = rdb * 1024; if (*channels <= 0 || *sample_rate <= 0 || *samples <= 0) { return 0; |