Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/resample.c Mon Apr 26 22:39:08 2010 +0000 +++ b/resample.c Wed Apr 28 20:00:23 2010 +0000 @@ -36,7 +36,7 @@ } static const AVOption options[] = {{NULL}}; -static const AVClass audioresample_context_class = { "ReSampleContext", context_to_name, options }; +static const AVClass audioresample_context_class = { "ReSampleContext", context_to_name, options, LIBAVUTIL_VERSION_INT }; struct ReSampleContext { struct AVResampleContext *resample_context;