summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r--libavcodec/lpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c
index 874af0513e..d1833cbed7 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -35,8 +35,9 @@ static void lpc_apply_welch_window_c(const int32_t *data, int len,
double w;
double c;
- assert(!(len&1)); //the optimization in r11881 does not support odd len
- //if someone wants odd len extend the change in r11881
+ /* The optimization in commit fa4ed8c does not support odd len.
+ * If someone wants odd len extend that change. */
+ assert(!(len & 1));
n2 = (len >> 1);
c = 2.0 / (len - 1.0);