summaryrefslogtreecommitdiff
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-19 17:45:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-19 19:23:37 +0200
commitbdbfd4569dde7ce3e82dcaf36e794a978266cf95 (patch)
treeaccc205f90619fb1ee4072ab30ef9508a108e076 /libswresample/swresample.c
parent186be49fd5f2406b4a4905e1e301945223fc7dfa (diff)
swr: make literal 32 a named constant in realloc_audio()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 7a75fdb1a6..dbc502ff6c 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -32,6 +32,7 @@
#define C_45DB 0.594603558
#define C_60DB 0.5
+#define ALIGN 32
//TODO split options array out?
#define OFFSET(x) offsetof(SwrContext,x)
@@ -337,7 +338,7 @@ static int realloc_audio(AudioData *a, int count){
count*=2;
- countb= FFALIGN(count*a->bps, 32);
+ countb= FFALIGN(count*a->bps, ALIGN);
old= *a;
av_assert0(a->bps);