This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
swresample: fix negative rematrix volumns
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer
12 years ago
parent
e2b718464e
commit
7ac12599fe
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libswresample/rematrix.c
+ 1
- 1
libswresample/rematrix.c
View File
@@ -313,7 +313,7 @@ av_cold static int auto_matrix(SwrContext *s)
} else
maxval = INT_MAX;
if(maxcoef > maxval){
if(maxcoef > maxval
|| s->rematrix_volume < 0
){
maxcoef /= maxval;
for(i=0; i<SWR_CH_MAX; i++)
for(j=0; j<SWR_CH_MAX; j++){
Write
Preview
Loading…
Cancel
Save