Commit 5a48caa3 authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer

dca: replace some memcpy by AV_COPY128

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 133b3420
...@@ -1402,9 +1402,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index) ...@@ -1402,9 +1402,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
/* Backup predictor history for adpcm */ /* Backup predictor history for adpcm */
for (k = base_channel; k < s->prim_channels; k++) for (k = base_channel; k < s->prim_channels; k++)
for (l = 0; l < s->vq_start_subband[k]; l++) for (l = 0; l < s->vq_start_subband[k]; l++)
memcpy(s->subband_samples_hist[k][l], AV_COPY128(s->subband_samples_hist[k][l], &subband_samples[k][l][4]);
&subband_samples[k][l][4],
4 * sizeof(subband_samples[0][0][0]));
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment