diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 15bd3ae030..a5a651a635 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3081,7 +3081,7 @@ typedef struct AVCodecContext {
     uint16_t *chroma_intra_matrix;
 
     /**
-     * dump format seperator.
+     * dump format separator.
      * can be ", " or "\n      " or anything else
      * Code outside libavcodec should access this field using AVOptions
      * (NO direct access).
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 52b9dcc1d9..aae8375dc6 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1715,7 +1715,7 @@ typedef struct AVFormatContext {
     int64_t probesize2;
 
     /**
-     * dump format seperator.
+     * dump format separator.
      * can be ", " or "\n      " or anything else
      * Code outside libavformat should access this field using AVOptions
      * (NO direct access).