diff --git a/libavformat/amr.c b/libavformat/amr.c
index e7ae050a976ec763e80303093f1bce7cad536873..635a898fa7b7f64ccba4087dd7d1043be4878bd0 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -121,8 +121,6 @@ static int amr_read_header(AVFormatContext *s,
     return 0;
 }
 
-#define MAX_SIZE 32
-
 static int amr_read_packet(AVFormatContext *s,
                           AVPacket *pkt)
 {