diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-06 01:21:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-08 04:42:40 +0100 |
commit | ddd851f7cbcb9181445b81bb3ff526f11f69c295 (patch) | |
tree | b9e52ff71e67791968ee670bbba24b8205065a3f /libavcodec | |
parent | 3f0a41367eb9180ab6d22d43ad42b9bd85a26df0 (diff) | |
download | ffmpeg-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.h | 3 |
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); |