diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index 3732219d3118253ca53a876b87a83e5b38c131d2..f2982584d4add941538bb602160a3e9143ad1edc 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -347,7 +347,6 @@ static void quantize_and_encode_band(struct AACEncContext *s, PutBitContext *pb,
  */
 typedef struct BandCodingPath {
     int prev_idx; ///< pointer to the previous path point
-    int codebook; ///< codebook for coding band run
     float cost;   ///< path cost
     int run;
 } BandCodingPath;