[SCM] libav/experimental: dca: replace some memcpy by AV_COPY128
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:01:27 UTC 2014
The following commit has been merged in the experimental branch:
commit ef010f08ae53479c54e2f16be5a7e1a809a9e268
Author: Christophe Gisquet <christophe.gisquet at gmail.com>
Date: Fri Feb 14 15:03:10 2014 +0000
dca: replace some memcpy by AV_COPY128
Signed-off-by: Janne Grunau <janne-libav at jannau.net>
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 723ed19..6c240ee 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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list