diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c
index 874af0513e8e7eefaa38406b9a9a25edd722b758..d1833cbed7aa3abf90a8972ec62c3d3aebc84c8d 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);
diff --git a/libavutil/aes.c b/libavutil/aes.c
index 0301e0395c6894f0934ce9291b5df3abc0945b27..6803c7190d973153dec30e1d363263f2503c8e83 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -33,7 +33,7 @@ typedef union {
 
 typedef struct AVAES {
     // Note: round_key[16] is accessed in the init code, but this only
-    // overwrites state, which does not matter (see also r7471).
+    // overwrites state, which does not matter (see also commit ba554c0).
     av_aes_block round_key[15];
     av_aes_block state[2];
     int rounds;