summaryrefslogtreecommitdiff
path: root/plugins/aac/aac_parser.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-16 20:32:37 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-16 20:32:37 +0200
commit3a53e93153ef7cdf3054bdabdbba5b2aee6d9cdd (patch)
treed1bc223a7e83ca80177e8880ba50d290ac8b1e60 /plugins/aac/aac_parser.c
parent5fd10493923e9d3d3028b522736816aa95eca788 (diff)
raw aac seeking
Diffstat (limited to 'plugins/aac/aac_parser.c')
-rw-r--r--plugins/aac/aac_parser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/aac/aac_parser.c b/plugins/aac/aac_parser.c
index eea957df..32571aff 100644
--- a/plugins/aac/aac_parser.c
+++ b/plugins/aac/aac_parser.c
@@ -34,8 +34,6 @@ static const int aac_channels[8] = {
0, 1, 2, 3, 4, 5, 6, 8
};
-// buf size must be at least ADTS_HEADER_SIZE*8
-// returns frame size
int
aac_sync(const uint8_t *buf, int *channels, int *sample_rate, int *bit_rate, int *samples)
{
@@ -43,7 +41,7 @@ aac_sync(const uint8_t *buf, int *channels, int *sample_rate, int *bit_rate, int
// 12 sync bits
if (buf[0] != 0xff || (buf[1]&0xf0) != 0xf0) {
- trace ("unsync\n");
+ //trace ("unsync\n");
return 0;
}