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
lpc: check that lpc_type is valid in ff_lpc_calc_coefs
Fixes CID700759 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer
12 years ago
parent
8edf9b1fa4
commit
c4a36b6f70
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavcodec/lpc.c
+ 2
- 1
libavcodec/lpc.c
View File
@@ -226,7 +226,8 @@ int ff_lpc_calc_coefs(LPCContext *s,
}
for(i=max_order-1; i>0; i--)
ref[i] = ref[i-1] - ref[i];
}
} else
av_assert0(0);
opt_order = max_order;
if(omethod == ORDER_METHOD_EST) {
Write
Preview
Loading…
Cancel
Save