From c8cf325a9b6c0d48d91ee7264a967f8b73f23ecd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 21 Mar 2008 11:40:05 +0000 Subject: [PATCH] Document AVCodec.flush() Originally committed as revision 12539 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 451d9f54ad..e348ee72fc 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