mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 21:25:40 +01:00
dca: Move tables used outside of dcadec.c to a separate file.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user