[FFmpeg-cvslog] r20340 - in trunk/libavfilter: avfilter.h formats.c

stefano subversion
Wed Oct 21 22:39:06 CEST 2009


Author: stefano
Date: Wed Oct 21 22:39:05 2009
New Revision: 20340

Log:
Make avfilter_make_format_list() take in input a const argument.

Modified:
   trunk/libavfilter/avfilter.h
   trunk/libavfilter/formats.c

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	Wed Oct 21 20:36:42 2009	(r20339)
+++ trunk/libavfilter/avfilter.h	Wed Oct 21 22:39:05 2009	(r20340)
@@ -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.

Modified: trunk/libavfilter/formats.c
==============================================================================
--- trunk/libavfilter/formats.c	Wed Oct 21 20:36:42 2009	(r20339)
+++ trunk/libavfilter/formats.c	Wed Oct 21 22:39:05 2009	(r20340)
@@ -69,7 +69,7 @@ AVFilterFormats *avfilter_merge_formats(
     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;



More information about the ffmpeg-cvslog mailing list