diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-28 05:14:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-28 05:14:39 +0200 |
commit | 2f717be22a933fc8f53b2cb2540ffb3358896467 (patch) | |
tree | fb0000851fadffd6923bf52934d37fcc471df634 /libavcodec/avdct.c | |
parent | a7762384cf9bf5ef7954ddab523dd12d844e64b0 (diff) | |
download | ffmpeg-2f717be22a933fc8f53b2cb2540ffb3358896467.tar.gz |
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>
Diffstat (limited to 'libavcodec/avdct.c')
-rw-r--r-- | libavcodec/avdct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c index 720e7720de..58f4974b49 100644 --- a/libavcodec/avdct.c +++ b/libavcodec/avdct.c @@ -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)); |