Commit ddd851f7 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec: Document that init_static_data() is not intended for time consuming operations.

Reviewed-by: 's avatarMuhammad Faiz <mfcc64@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3f0a4136
...@@ -3439,6 +3439,9 @@ typedef struct AVCodec { ...@@ -3439,6 +3439,9 @@ typedef struct AVCodec {
/** /**
* Initialize codec static data, called from avcodec_register(). * 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); void (*init_static_data)(struct AVCodec *codec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment