summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-02-14 16:00:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-02-15 19:03:10 +0100
commit5a48caa34b0c2a2641ea3bd522802fa1df2c8866 (patch)
tree5f78c887765abd36c48da5db3a9c8c0a995fc6f8
parent133b34207c2ca3ae214dfd429288ac6e31efa5dc (diff)
downloadffmpeg-streaming-5a48caa34b0c2a2641ea3bd522802fa1df2c8866.zip
ffmpeg-streaming-5a48caa34b0c2a2641ea3bd522802fa1df2c8866.tar.gz
dca: replace some memcpy by AV_COPY128
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/dcadec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 1deddf5..19aca64 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1402,9 +1402,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;
}
OpenPOWER on IntegriCloud