summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-21 20:39:05 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-21 20:39:05 +0000
commit1554fed2d69c8b1ead1529a74d88e99c8c0f1d21 (patch)
tree53b63ae71cff5348eb170a34068f5678c91842f1
parentf2ed1a41e1385dccd4df57535d6db048b6af8936 (diff)
Make avfilter_make_format_list() take in input a const argument.
Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/avfilter.h4
-rw-r--r--libavfilter/formats.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index a2e23dd2fc..2ebbc1fd2f 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -24,7 +24,7 @@
#define LIBAVFILTER_VERSION_MAJOR 1
#define LIBAVFILTER_VERSION_MINOR 3
-#define LIBAVFILTER_VERSION_MICRO 0
+#define LIBAVFILTER_VERSION_MICRO 1
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
@@ -176,7 +176,7 @@ struct AVFilterFormats
* @param pix_fmt list of pixel formats, terminated by PIX_FMT_NONE
* @return the format list, with no existing references
*/
-AVFilterFormats *avfilter_make_format_list(enum PixelFormat *pix_fmt);
+AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmt);
/**
* Returns a list of all colorspaces supported by FFmpeg.
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 081a87e140..1e9afc7dd9 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -69,7 +69,7 @@ AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b)
return ret;
}
-AVFilterFormats *avfilter_make_format_list(enum PixelFormat *pix_fmt)
+AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmt)
{
AVFilterFormats *formats;
int count;