OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982b596
)
dca: replace some memcpy by AV_COPY128
author
Christophe Gisquet
<christophe.gisquet@gmail.com>
Fri, 14 Feb 2014 15:03:10 +0000
(15:03 +0000)
committer
Janne Grunau
<janne-libav@jannau.net>
Thu, 20 Feb 2014 13:16:43 +0000
(14:16 +0100)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/dcadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dcadec.c
b/libavcodec/dcadec.c
index
723ed19
..
6c240ee
100644
(file)
--- 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;
}