Commit 01772a4c authored by stefano's avatar stefano

Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and

XXX_license() functions, consistent with the rest of FFmpeg.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21005 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 85437d72
...@@ -3083,12 +3083,12 @@ unsigned avcodec_version(void); ...@@ -3083,12 +3083,12 @@ unsigned avcodec_version(void);
/** /**
* Returns the libavcodec build-time configuration. * Returns the libavcodec build-time configuration.
*/ */
const char * avcodec_configuration(void); const char *avcodec_configuration(void);
/** /**
* Returns the libavcodec license. * Returns the libavcodec license.
*/ */
const char * avcodec_license(void); const char *avcodec_license(void);
/** /**
* Initializes libavcodec. * Initializes libavcodec.
......
...@@ -895,12 +895,12 @@ unsigned avcodec_version( void ) ...@@ -895,12 +895,12 @@ unsigned avcodec_version( void )
return LIBAVCODEC_VERSION_INT; return LIBAVCODEC_VERSION_INT;
} }
const char * avcodec_configuration(void) const char *avcodec_configuration(void)
{ {
return FFMPEG_CONFIGURATION; return FFMPEG_CONFIGURATION;
} }
const char * avcodec_license(void) const char *avcodec_license(void)
{ {
#define LICENSE_PREFIX "libavcodec license: " #define LICENSE_PREFIX "libavcodec license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
......
...@@ -28,12 +28,12 @@ unsigned avfilter_version(void) { ...@@ -28,12 +28,12 @@ unsigned avfilter_version(void) {
return LIBAVFILTER_VERSION_INT; return LIBAVFILTER_VERSION_INT;
} }
const char * avfilter_configuration(void) const char *avfilter_configuration(void)
{ {
return FFMPEG_CONFIGURATION; return FFMPEG_CONFIGURATION;
} }
const char * avfilter_license(void) const char *avfilter_license(void)
{ {
#define LICENSE_PREFIX "libavfilter license: " #define LICENSE_PREFIX "libavfilter license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
......
...@@ -47,12 +47,12 @@ unsigned avfilter_version(void); ...@@ -47,12 +47,12 @@ unsigned avfilter_version(void);
/** /**
* Returns the libavfilter build-time configuration. * Returns the libavfilter build-time configuration.
*/ */
const char * avfilter_configuration(void); const char *avfilter_configuration(void);
/** /**
* Returns the libavfilter license. * Returns the libavfilter license.
*/ */
const char * avfilter_license(void); const char *avfilter_license(void);
typedef struct AVFilterContext AVFilterContext; typedef struct AVFilterContext AVFilterContext;
......
...@@ -43,12 +43,12 @@ unsigned avformat_version(void); ...@@ -43,12 +43,12 @@ unsigned avformat_version(void);
/** /**
* Returns the libavformat build-time configuration. * Returns the libavformat build-time configuration.
*/ */
const char * avformat_configuration(void); const char *avformat_configuration(void);
/** /**
* Returns the libavformat license. * Returns the libavformat license.
*/ */
const char * avformat_license(void); const char *avformat_license(void);
#include <time.h> #include <time.h>
#include <stdio.h> /* FILE */ #include <stdio.h> /* FILE */
......
...@@ -41,12 +41,12 @@ unsigned avformat_version(void) ...@@ -41,12 +41,12 @@ unsigned avformat_version(void)
return LIBAVFORMAT_VERSION_INT; return LIBAVFORMAT_VERSION_INT;
} }
const char * avformat_configuration(void) const char *avformat_configuration(void)
{ {
return FFMPEG_CONFIGURATION; return FFMPEG_CONFIGURATION;
} }
const char * avformat_license(void) const char *avformat_license(void)
{ {
#define LICENSE_PREFIX "libavformat license: " #define LICENSE_PREFIX "libavformat license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
......
...@@ -56,12 +56,12 @@ unsigned avutil_version(void); ...@@ -56,12 +56,12 @@ unsigned avutil_version(void);
/** /**
* Returns the libavutil build-time configuration. * Returns the libavutil build-time configuration.
*/ */
const char * avutil_configuration(void); const char *avutil_configuration(void);
/** /**
* Returns the libavutil license. * Returns the libavutil license.
*/ */
const char * avutil_license(void); const char *avutil_license(void);
#include "common.h" #include "common.h"
#include "mathematics.h" #include "mathematics.h"
......
...@@ -29,12 +29,12 @@ unsigned avutil_version(void) ...@@ -29,12 +29,12 @@ unsigned avutil_version(void)
return LIBAVUTIL_VERSION_INT; return LIBAVUTIL_VERSION_INT;
} }
const char * avutil_configuration(void) const char *avutil_configuration(void)
{ {
return FFMPEG_CONFIGURATION; return FFMPEG_CONFIGURATION;
} }
const char * avutil_license(void) const char *avutil_license(void)
{ {
#define LICENSE_PREFIX "libavutil license: " #define LICENSE_PREFIX "libavutil license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
......
...@@ -92,12 +92,12 @@ unsigned postproc_version(void) ...@@ -92,12 +92,12 @@ unsigned postproc_version(void)
return LIBPOSTPROC_VERSION_INT; return LIBPOSTPROC_VERSION_INT;
} }
const char * postproc_configuration(void) const char *postproc_configuration(void)
{ {
return FFMPEG_CONFIGURATION; return FFMPEG_CONFIGURATION;
} }
const char * postproc_license(void) const char *postproc_license(void)
{ {
#define LICENSE_PREFIX "libpostproc license: " #define LICENSE_PREFIX "libpostproc license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
......
...@@ -51,12 +51,12 @@ unsigned postproc_version(void); ...@@ -51,12 +51,12 @@ unsigned postproc_version(void);
/** /**
* Returns the libpostproc build-time configuration. * Returns the libpostproc build-time configuration.
*/ */
const char * postproc_configuration(void); const char *postproc_configuration(void);
/** /**
* Returns the libpostproc license. * Returns the libpostproc license.
*/ */
const char * postproc_license(void); const char *postproc_license(void);
#define PP_QUALITY_MAX 6 #define PP_QUALITY_MAX 6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment