summaryrefslogtreecommitdiff
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-04-28 20:00:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-04-28 20:00:23 +0000
commit2308b6c19a74c0b1af58c12ab379976b54bc83a2 (patch)
tree01c228ac7cac4cd32b96462741469a70ed64f087 /libavcodec/resample.c
parentb01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (diff)
downloadffmpeg-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.c2
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;