Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-02-06 03:21:08 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-02-08 06:42:40 +0300
commitddd851f7cbcb9181445b81bb3ff526f11f69c295 (patch)
treeb9e52ff71e67791968ee670bbba24b8205065a3f /libavcodec/avcodec.h
parent3f0a41367eb9180ab6d22d43ad42b9bd85a26df0 (diff)
avcodec: Document that init_static_data() is not intended for time consuming operations.
Reviewed-by: Muhammad Faiz <mfcc64@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c41779ad40..1c32339754 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3439,6 +3439,9 @@ typedef struct AVCodec {
/**
* Initialize codec static data, called from avcodec_register().
+ *
+ * This is not intended for time consuming operations as it is
+ * run for every codec regardless of that codec being used.
*/
void (*init_static_data)(struct AVCodec *codec);