]> git.sesse.net Git - ffmpeg/commitdiff
Document AVCodec.flush()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2008 11:40:05 +0000 (11:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2008 11:40:05 +0000 (11:40 +0000)
Originally committed as revision 12539 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index 451d9f54ad4e3d853965fd429bd716609b39b87a..e348ee72fcb1d2d28d00b015e65edd43cf342364 100644 (file)
@@ -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