Fix comments for new avcodec fields.
---
libavcodec/avcodec.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 80c07b1..d27fca7 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -757,7 +757,7 @@ typedef struct AVPanScan{
/**\
* context owning the internal buffers\
* - encoding: unused\
- * - decoding: MUST be set by get_buffer().\
+ * - decoding: Set by libavcodec.\
*/\
struct AVCodecContext *avctx;\
\
@@ -2269,7 +2269,7 @@ typedef struct AVCodec {
* Multithreading support functions.
*/
int (*init_copy)(AVCodecContext *); ///< called after copying initially, re-allocate all writable tables
- int (*update_context)(AVCodecContext *, AVCodecContext *from); ///< called with the context of the last frame before every decode
+ int (*update_context)(AVCodecContext *, AVCodecContext *from); ///< copy everything needed from the last thread before every new frame
} AVCodec;
/**
--
1.5.5.1
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc