dca: Move tables used outside of dcadec.c to a separate file.

This commit is contained in:
Diego Biurrun
2012-07-31 20:09:23 +02:00
parent 13a79cf84e
commit 9e4bca16f8
7 changed files with 39 additions and 13 deletions

View File

@@ -561,7 +561,7 @@ static int dca_parse_frame_header(DCAContext *s)
if (s->frame_size < 95)
return AVERROR_INVALIDDATA;
s->amode = get_bits(&s->gb, 6);
s->sample_rate = dca_sample_rates[get_bits(&s->gb, 4)];
s->sample_rate = ff_dca_sample_rates[get_bits(&s->gb, 4)];
if (!s->sample_rate)
return AVERROR_INVALIDDATA;
s->bit_rate_index = get_bits(&s->gb, 5);