... | ... |
@@ -161,7 +161,7 @@ static int dca_parse_params(const uint8_t *buf, int buf_size, int *duration, |
161 | 161 |
|
162 | 162 |
skip_bits(&gb, 20); |
163 | 163 |
sr_code = get_bits(&gb, 4); |
164 |
- *sample_rate = ff_dca_sample_rates[sr_code]; |
|
164 |
+ *sample_rate = avpriv_dca_sample_rates[sr_code]; |
|
165 | 165 |
if (*sample_rate == 0) |
166 | 166 |
return AVERROR_INVALIDDATA; |
167 | 167 |
|
... | ... |
@@ -561,7 +561,7 @@ static int dca_parse_frame_header(DCAContext *s) |
561 | 561 |
if (s->frame_size < 95) |
562 | 562 |
return AVERROR_INVALIDDATA; |
563 | 563 |
s->amode = get_bits(&s->gb, 6); |
564 |
- s->sample_rate = ff_dca_sample_rates[get_bits(&s->gb, 4)]; |
|
564 |
+ s->sample_rate = avpriv_dca_sample_rates[get_bits(&s->gb, 4)]; |
|
565 | 565 |
if (!s->sample_rate) |
566 | 566 |
return AVERROR_INVALIDDATA; |
567 | 567 |
s->bit_rate_index = get_bits(&s->gb, 5); |
... | ... |
@@ -252,7 +252,7 @@ static int spdif_header_dts(AVFormatContext *s, AVPacket *pkt) |
252 | 252 |
case DCA_MARKER_RAW_BE: |
253 | 253 |
blocks = (AV_RB16(pkt->data + 4) >> 2) & 0x7f; |
254 | 254 |
core_size = ((AV_RB24(pkt->data + 5) >> 4) & 0x3fff) + 1; |
255 |
- sample_rate = ff_dca_sample_rates[(pkt->data[8] >> 2) & 0x0f]; |
|
255 |
+ sample_rate = avpriv_dca_sample_rates[(pkt->data[8] >> 2) & 0x0f]; |
|
256 | 256 |
break; |
257 | 257 |
case DCA_MARKER_RAW_LE: |
258 | 258 |
blocks = (AV_RL16(pkt->data + 4) >> 2) & 0x7f; |