diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-04-28 20:00:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-04-28 20:00:23 +0000 |
commit | 2308b6c19a74c0b1af58c12ab379976b54bc83a2 (patch) | |
tree | 01c228ac7cac4cd32b96462741469a70ed64f087 /libavcodec/resample.c | |
parent | b01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (diff) | |
download | ffmpeg-2308b6c19a74c0b1af58c12ab379976b54bc83a2.tar.gz |
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index dce88abd43..b008180fe5 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -36,7 +36,7 @@ static const char *context_to_name(void *ptr) } 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; |