Commit 2f717be2 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/avdct: Add avcodec_dct_get_class()

This should have been in the initial commit of AVDCT
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a7762384
......@@ -70,6 +70,11 @@ static const AVClass avdct_class = {
.version = LIBAVUTIL_VERSION_INT,
};
const AVClass *avcodec_dct_get_class(void)
{
return &avdct_class;
}
AVDCT *avcodec_dct_alloc(void)
{
AVDCT *dsp = av_mallocz(sizeof(AVDCT));
......
......@@ -73,4 +73,6 @@ typedef struct AVDCT {
AVDCT *avcodec_dct_alloc(void);
int avcodec_dct_init(AVDCT *);
const AVClass *avcodec_dct_get_class(void);
#endif /* AVCODEC_AVDCT_H */
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