Commit 9c96c837 authored by stefano's avatar stefano

Make avfilter_make_format_list() take in input a const argument.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 219656cc
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define LIBAVFILTER_VERSION_MAJOR 1 #define LIBAVFILTER_VERSION_MAJOR 1
#define LIBAVFILTER_VERSION_MINOR 3 #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, \ #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \ LIBAVFILTER_VERSION_MINOR, \
...@@ -176,7 +176,7 @@ struct AVFilterFormats ...@@ -176,7 +176,7 @@ struct AVFilterFormats
* @param pix_fmt list of pixel formats, terminated by PIX_FMT_NONE * @param pix_fmt list of pixel formats, terminated by PIX_FMT_NONE
* @return the format list, with no existing references * @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. * Returns a list of all colorspaces supported by FFmpeg.
......
...@@ -69,7 +69,7 @@ AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b) ...@@ -69,7 +69,7 @@ AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b)
return ret; return ret;
} }
AVFilterFormats *avfilter_make_format_list(enum PixelFormat *pix_fmt) AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmt)
{ {
AVFilterFormats *formats; AVFilterFormats *formats;
int count; int count;
......
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