diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 448ac1623bca66dbdb5525ecdb9cad2ea71de2f6..e3b47536f03e5c76e757e3ee25aab7ad6fed5f7b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1440,7 +1440,7 @@ typedef struct AVPicture {
  * between and demuxer and a decoder.
  */
 #define AVPALETTE_SIZE 1024
-#define AVPALETT_COUNT 256
+#define AVPALETTE_COUNT 256
 typedef struct AVPaletteControl {
 
     /* demuxer sets this to 1 to indicate the palette has changed;