diff --git a/libavcodec/qdmc.c b/libavcodec/qdmc.c
index 9560a3b5e16c2630336e6576d8bc4a98478ad7eb..1c8952b97be40488434ac161bc8a3f567dac339d 100644
--- a/libavcodec/qdmc.c
+++ b/libavcodec/qdmc.c
@@ -53,7 +53,7 @@ typedef struct QDMCContext {
     int nb_channels;
     int checksum_size;
 
-    uint8_t noise[2][19][16];
+    uint8_t noise[2][19][17];
     QDMCTone tones[5][8192];
     int nb_tones[5];
     int cur_tone[5];