Mercurial > libavcodec.hg
comparison resample.c @ 11664:3da317f52661 libavcodec
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
author | michael |
---|---|
date | Wed, 28 Apr 2010 20:00:23 +0000 |
parents | 7dd2a45249a9 |
children | 776789af0304 |
comparison
equal
deleted
inserted
replaced
11663:2c69c6015a84 | 11664:3da317f52661 |
---|---|
34 { | 34 { |
35 return "audioresample"; | 35 return "audioresample"; |
36 } | 36 } |
37 | 37 |
38 static const AVOption options[] = {{NULL}}; | 38 static const AVOption options[] = {{NULL}}; |
39 static const AVClass audioresample_context_class = { "ReSampleContext", context_to_name, options }; | 39 static const AVClass audioresample_context_class = { "ReSampleContext", context_to_name, options, LIBAVUTIL_VERSION_INT }; |
40 | 40 |
41 struct ReSampleContext { | 41 struct ReSampleContext { |
42 struct AVResampleContext *resample_context; | 42 struct AVResampleContext *resample_context; |
43 short *temp[2]; | 43 short *temp[2]; |
44 int temp_len; | 44 int temp_len; |