Message ID | 20180206002108.15691-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | ddd851f7cbcb9181445b81bb3ff526f11f69c295 |
Headers | show |
On Tue, Feb 6, 2018 at 7:21 AM, Michael Niedermayer <michael@niedermayer.cc> wrote: > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/avcodec.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 8fbbc798a2..9f4e8dd3c5 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); > LGTM. Thank's.
On Wed, Feb 07, 2018 at 01:22:30AM +0700, Muhammad Faiz wrote: > On Tue, Feb 6, 2018 at 7:21 AM, Michael Niedermayer > <michael@niedermayer.cc> wrote: > > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > > --- > > libavcodec/avcodec.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > > index 8fbbc798a2..9f4e8dd3c5 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); > > > > LGTM. will apply thx [...]
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8fbbc798a2..9f4e8dd3c5 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);
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/avcodec.h | 3 +++ 1 file changed, 3 insertions(+)