Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| ... | ... |
@@ -32,6 +32,7 @@ |
| 32 | 32 |
#define C_45DB 0.594603558 |
| 33 | 33 |
#define C_60DB 0.5 |
| 34 | 34 |
|
| 35 |
+#define ALIGN 32 |
|
| 35 | 36 |
|
| 36 | 37 |
//TODO split options array out? |
| 37 | 38 |
#define OFFSET(x) offsetof(SwrContext,x) |
| ... | ... |
@@ -337,7 +338,7 @@ static int realloc_audio(AudioData *a, int count){
|
| 337 | 337 |
|
| 338 | 338 |
count*=2; |
| 339 | 339 |
|
| 340 |
- countb= FFALIGN(count*a->bps, 32); |
|
| 340 |
+ countb= FFALIGN(count*a->bps, ALIGN); |
|
| 341 | 341 |
old= *a; |
| 342 | 342 |
|
| 343 | 343 |
av_assert0(a->bps); |