From 7f0026dded7b2acbb93a762468c2d37eaa486083 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 8 Aug 2008 18:32:20 +0000 Subject: Implement avutil_version(). Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/utils.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libavutil/utils.c (limited to 'libavutil/utils.c') diff --git a/libavutil/utils.c b/libavutil/utils.c new file mode 100644 index 0000000000..3f9505d756 --- /dev/null +++ b/libavutil/utils.c @@ -0,0 +1,29 @@ +/* + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "avutil.h" + +/** + * @file libavutil/utils.c + * various utility functions + */ + +unsigned avutil_version(void) +{ + return LIBAVUTIL_VERSION_INT; +} -- cgit v1.2.3