diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-02-14 19:03:10 +0400 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-03-02 20:42:37 +0400 |
commit | 2897481f64c8ab856b2121ae900d822930d0a5fc (patch) | |
tree | e71cc6527cc27fbe0ebec6f22d3ea4d8864d87a8 /libavcodec/dcadec.c | |
parent | 697be8173bc7c593ebfc30b654b5dc6eafe1f8a3 (diff) |
dca: replace some memcpy by AV_COPY128
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
(cherry picked from commit ef010f08ae53479c54e2f16be5a7e1a809a9e268)
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r-- | libavcodec/dcadec.c | 4 |
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; } |