From 805aae71f25a3a047fb82ab0095f4382a615a5a0 Mon Sep 17 00:00:00 2001 From: stefano Date: Sun, 18 Oct 2009 09:31:57 +0000 Subject: [PATCH] Use 'enum PixelFormat *' rather than 'int *' as type for the AVFilterFormats.formats field. Cleaner / safer. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavfilter/avfilter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 2b17dea2a..4aa11259c 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -24,7 +24,7 @@ #define LIBAVFILTER_VERSION_MAJOR 1 #define LIBAVFILTER_VERSION_MINOR 0 -#define LIBAVFILTER_VERSION_MICRO 0 +#define LIBAVFILTER_VERSION_MICRO 1 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ LIBAVFILTER_VERSION_MINOR, \ @@ -164,7 +164,7 @@ typedef struct AVFilterFormats AVFilterFormats; struct AVFilterFormats { unsigned format_count; ///< number of formats - int *formats; ///< list of formats + enum PixelFormat *formats; ///< list of pixel formats unsigned refcount; ///< number of references to this list AVFilterFormats ***refs; ///< references to this list -- 2.11.4.GIT