aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-02-06 01:21:08 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2018-02-08 04:42:40 +0100
commitddd851f7cbcb9181445b81bb3ff526f11f69c295 (patch)
treeb9e52ff71e67791968ee670bbba24b8205065a3f /libavcodec
parent3f0a41367eb9180ab6d22d43ad42b9bd85a26df0 (diff)
downloadffmpeg-ddd851f7cbcb9181445b81bb3ff526f11f69c295.tar.gz
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')
-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);