aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-02-14 15:03:10 +0000
committerJanne Grunau <janne-libav@jannau.net>2014-02-20 14:16:43 +0100
commitef010f08ae53479c54e2f16be5a7e1a809a9e268 (patch)
tree4d875a3f66f5eb3307307ed5709c0f96a87b2ef2
parent982b596ea6640bfe218a31f6c3fc542d9fe61c31 (diff)
downloadffmpeg-ef010f08ae53479c54e2f16be5a7e1a809a9e268.tar.gz
dca: replace some memcpy by AV_COPY128
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-rw-r--r--libavcodec/dcadec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 723ed191dc..6c240ee5fd 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1241,9 +1241,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
/* Backup predictor history for adpcm */
for (k = base_channel; k < s->prim_channels; k++)
for (l = 0; l < s->vq_start_subband[k]; l++)
- memcpy(s->subband_samples_hist[k][l],
- &subband_samples[k][l][4],
- 4 * sizeof(subband_samples[0][0][0]));
+ AV_COPY128(s->subband_samples_hist[k][l], &subband_samples[k][l][4]);
return 0;
}