summaryrefslogtreecommitdiff
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:25:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:25:56 +0200
commit22057e8ecb6bc18ad60a7d0ac7f11f9c0635c1e5 (patch)
treeececa64878f5e23bc065e43a1444ab659268283c /libswresample/swresample.c
parentf9a2c5bc07fbcc6fa5bb6b53d3abe6ea3c0e3002 (diff)
swr: add swr_get_class()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 58096b3927..e7f61cb8ee 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -97,6 +97,11 @@ int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map){
return 0;
}
+const AVClass *swr_get_class(void)
+{
+ return &av_class;
+}
+
struct SwrContext *swr_alloc(void){
SwrContext *s= av_mallocz(sizeof(SwrContext));
if(s){