diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-29 00:27:25 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-29 10:20:21 +0100 |
commit | 605f1d9865d46f3db5b56b7cac343a3f33637950 (patch) | |
tree | 52e1e220abbe7879cfd533dbf3f501dfb6d870b2 /libswscale/options.c | |
parent | cf56c20761802e7e09d35b5279afa4e9cee43b65 (diff) | |
download | ffmpeg-605f1d9865d46f3db5b56b7cac343a3f33637950.tar.gz |
lsws: define version in SWScaler class
The version number is useful to check the libavutil version against which
the library was compiled at run-time, which in turn may be useful to deal
with binary compatibility issues.
Diffstat (limited to 'libswscale/options.c')
-rw-r--r-- | libswscale/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/options.c b/libswscale/options.c index 9cd4fc0607..f7d261cfcc 100644 --- a/libswscale/options.c +++ b/libswscale/options.c @@ -71,6 +71,7 @@ const AVClass sws_context_class = { .item_name = sws_context_to_name, .option = options, .category = AV_CLASS_CATEGORY_SWSCALER, + .version = LIBAVUTIL_VERSION_INT, }; const AVClass *sws_get_class(void) |