mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/avdct: Add avcodec_dct_get_class()
This should have been in the initial commit of AVDCT Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a7762384cf
commit
2f717be22a
@ -70,6 +70,11 @@ static const AVClass avdct_class = {
|
|||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const AVClass *avcodec_dct_get_class(void)
|
||||||
|
{
|
||||||
|
return &avdct_class;
|
||||||
|
}
|
||||||
|
|
||||||
AVDCT *avcodec_dct_alloc(void)
|
AVDCT *avcodec_dct_alloc(void)
|
||||||
{
|
{
|
||||||
AVDCT *dsp = av_mallocz(sizeof(AVDCT));
|
AVDCT *dsp = av_mallocz(sizeof(AVDCT));
|
||||||
|
@ -73,4 +73,6 @@ typedef struct AVDCT {
|
|||||||
AVDCT *avcodec_dct_alloc(void);
|
AVDCT *avcodec_dct_alloc(void);
|
||||||
int avcodec_dct_init(AVDCT *);
|
int avcodec_dct_init(AVDCT *);
|
||||||
|
|
||||||
|
const AVClass *avcodec_dct_get_class(void);
|
||||||
|
|
||||||
#endif /* AVCODEC_AVDCT_H */
|
#endif /* AVCODEC_AVDCT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user