[FFmpeg-cvslog] r20274 - trunk/libavfilter/avfilter.h
stefano
subversion
Sun Oct 18 11:31:57 CEST 2009
Author: stefano
Date: Sun Oct 18 11:31:57 2009
New Revision: 20274
Log:
Use 'enum PixelFormat *' rather than 'int *' as type for the
AVFilterFormats.formats field.
Cleaner / safer.
Modified:
trunk/libavfilter/avfilter.h
Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h Sun Oct 18 10:31:25 2009 (r20273)
+++ trunk/libavfilter/avfilter.h Sun Oct 18 11:31:57 2009 (r20274)
@@ -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 AVFilterF
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
More information about the ffmpeg-cvslog
mailing list