diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 451d9f54ad4e3d853965fd429bd716609b39b87a..e348ee72fcb1d2d28d00b015e65edd43cf342364 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2223,6 +2223,10 @@ typedef struct AVCodec {
      */
     int capabilities;
     struct AVCodec *next;
+    /**
+     * Flush buffers.
+     * Will be called when seeking
+     */
     void (*flush)(AVCodecContext *);
     const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0}
     const enum PixelFormat *pix_fmts;       ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1