summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-03-21 11:40:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-03-21 11:40:05 +0000
commitc8cf325a9b6c0d48d91ee7264a967f8b73f23ecd (patch)
tree7b6b782063634d80b22050e688f122f990998675 /libavcodec
parenta2d1124605a1902977d3538628759f59d84b25c9 (diff)
Document AVCodec.flush()
Originally committed as revision 12539 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 4 insertions, 0 deletions
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