[FFmpeg-cvslog] r21005 - in trunk: libavcodec/avcodec.h libavcodec/utils.c libavfilter/avfilter.c libavfilter/avfilter.h libavformat/avformat.h libavformat/utils.c libavutil/avutil.h libavutil/utils.c libpostproc/...
stefano
subversion
Sun Jan 3 15:31:25 CET 2010
Author: stefano
Date: Sun Jan 3 15:31:25 2010
New Revision: 21005
Log:
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
XXX_license() functions, consistent with the rest of FFmpeg.
Modified:
trunk/libavcodec/avcodec.h
trunk/libavcodec/utils.c
trunk/libavfilter/avfilter.c
trunk/libavfilter/avfilter.h
trunk/libavformat/avformat.h
trunk/libavformat/utils.c
trunk/libavutil/avutil.h
trunk/libavutil/utils.c
trunk/libpostproc/postprocess.c
trunk/libpostproc/postprocess.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavcodec/avcodec.h Sun Jan 3 15:31:25 2010 (r21005)
@@ -3083,12 +3083,12 @@ unsigned avcodec_version(void);
/**
* Returns the libavcodec build-time configuration.
*/
-const char * avcodec_configuration(void);
+const char *avcodec_configuration(void);
/**
* Returns the libavcodec license.
*/
-const char * avcodec_license(void);
+const char *avcodec_license(void);
/**
* Initializes libavcodec.
Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavcodec/utils.c Sun Jan 3 15:31:25 2010 (r21005)
@@ -895,12 +895,12 @@ unsigned avcodec_version( void )
return LIBAVCODEC_VERSION_INT;
}
-const char * avcodec_configuration(void)
+const char *avcodec_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
-const char * avcodec_license(void)
+const char *avcodec_license(void)
{
#define LICENSE_PREFIX "libavcodec license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavfilter/avfilter.c Sun Jan 3 15:31:25 2010 (r21005)
@@ -28,12 +28,12 @@ unsigned avfilter_version(void) {
return LIBAVFILTER_VERSION_INT;
}
-const char * avfilter_configuration(void)
+const char *avfilter_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
-const char * avfilter_license(void)
+const char *avfilter_license(void)
{
#define LICENSE_PREFIX "libavfilter license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavfilter/avfilter.h Sun Jan 3 15:31:25 2010 (r21005)
@@ -47,12 +47,12 @@ unsigned avfilter_version(void);
/**
* Returns the libavfilter build-time configuration.
*/
-const char * avfilter_configuration(void);
+const char *avfilter_configuration(void);
/**
* Returns the libavfilter license.
*/
-const char * avfilter_license(void);
+const char *avfilter_license(void);
typedef struct AVFilterContext AVFilterContext;
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavformat/avformat.h Sun Jan 3 15:31:25 2010 (r21005)
@@ -43,12 +43,12 @@ unsigned avformat_version(void);
/**
* Returns the libavformat build-time configuration.
*/
-const char * avformat_configuration(void);
+const char *avformat_configuration(void);
/**
* Returns the libavformat license.
*/
-const char * avformat_license(void);
+const char *avformat_license(void);
#include <time.h>
#include <stdio.h> /* FILE */
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavformat/utils.c Sun Jan 3 15:31:25 2010 (r21005)
@@ -41,12 +41,12 @@ unsigned avformat_version(void)
return LIBAVFORMAT_VERSION_INT;
}
-const char * avformat_configuration(void)
+const char *avformat_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
-const char * avformat_license(void)
+const char *avformat_license(void)
{
#define LICENSE_PREFIX "libavformat license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
Modified: trunk/libavutil/avutil.h
==============================================================================
--- trunk/libavutil/avutil.h Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavutil/avutil.h Sun Jan 3 15:31:25 2010 (r21005)
@@ -56,12 +56,12 @@ unsigned avutil_version(void);
/**
* Returns the libavutil build-time configuration.
*/
-const char * avutil_configuration(void);
+const char *avutil_configuration(void);
/**
* Returns the libavutil license.
*/
-const char * avutil_license(void);
+const char *avutil_license(void);
#include "common.h"
#include "mathematics.h"
Modified: trunk/libavutil/utils.c
==============================================================================
--- trunk/libavutil/utils.c Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libavutil/utils.c Sun Jan 3 15:31:25 2010 (r21005)
@@ -29,12 +29,12 @@ unsigned avutil_version(void)
return LIBAVUTIL_VERSION_INT;
}
-const char * avutil_configuration(void)
+const char *avutil_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
-const char * avutil_license(void)
+const char *avutil_license(void)
{
#define LICENSE_PREFIX "libavutil license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
Modified: trunk/libpostproc/postprocess.c
==============================================================================
--- trunk/libpostproc/postprocess.c Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libpostproc/postprocess.c Sun Jan 3 15:31:25 2010 (r21005)
@@ -92,12 +92,12 @@ unsigned postproc_version(void)
return LIBPOSTPROC_VERSION_INT;
}
-const char * postproc_configuration(void)
+const char *postproc_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
-const char * postproc_license(void)
+const char *postproc_license(void)
{
#define LICENSE_PREFIX "libpostproc license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
Modified: trunk/libpostproc/postprocess.h
==============================================================================
--- trunk/libpostproc/postprocess.h Sun Jan 3 11:43:36 2010 (r21004)
+++ trunk/libpostproc/postprocess.h Sun Jan 3 15:31:25 2010 (r21005)
@@ -51,12 +51,12 @@ unsigned postproc_version(void);
/**
* Returns the libpostproc build-time configuration.
*/
-const char * postproc_configuration(void);
+const char *postproc_configuration(void);
/**
* Returns the libpostproc license.
*/
-const char * postproc_license(void);
+const char *postproc_license(void);
#define PP_QUALITY_MAX 6
More information about the ffmpeg-cvslog
mailing list