summaryrefslogtreecommitdiffstats
path: root/liba52/downmix.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-06 11:44:23 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-06 11:44:23 +0000
commit3ab4de18b0fb555e5732124871c138902eef6dba (patch)
tree2e0d4e75a4632cd9e8ef664443fe1de3d6ced435 /liba52/downmix.c
parenta40bfaec255f1c0b66e744e4b6baab671c46530d (diff)
downloadmpv-3ab4de18b0fb555e5732124871c138902eef6dba.tar.bz2
mpv-3ab4de18b0fb555e5732124871c138902eef6dba.tar.xz
100l and sync with upstream, patch by rgselk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12138 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52/downmix.c')
-rw-r--r--liba52/downmix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/liba52/downmix.c b/liba52/downmix.c
index 47091ffe0d..d5606b3528 100644
--- a/liba52/downmix.c
+++ b/liba52/downmix.c
@@ -609,7 +609,7 @@ static void downmix_C (sample_t * samples, int acmod, int output, sample_t bias,
break;
case CONVERT (A52_3F1R, A52_3F2R):
- memcpy (samples + 1027, samples + 768, 256 * sizeof (sample_t));
+ memcpy (samples + 1024, samples + 768, 256 * sizeof (sample_t));
break;
}
}
@@ -1177,7 +1177,7 @@ static void downmix_SSE (sample_t * samples, int acmod, int output, sample_t bia
break;
case CONVERT (A52_3F1R, A52_3F2R):
- memcpy (samples + 1027, samples + 768, 256 * sizeof (sample_t));
+ memcpy (samples + 1024, samples + 768, 256 * sizeof (sample_t));
break;
}
}
@@ -1806,7 +1806,7 @@ static void downmix_3dnow (sample_t * samples, int acmod, int output, sample_t b
break;
case CONVERT (A52_3F1R, A52_3F2R):
- memcpy (samples + 1027, samples + 768, 256 * sizeof (sample_t));
+ memcpy (samples + 1024, samples + 768, 256 * sizeof (sample_t));
break;
}
__asm __volatile("femms":::"memory");