diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-18 09:31:57 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-18 09:31:57 +0000 |
commit | 930aa451321c4e44fb3663f34dfee024001d0aff (patch) | |
tree | 643e778ea78dc9b0a5f05efd7a28b1dfa7b8196b /libavfilter/avfilter.h | |
parent | c3b27a3d451de6e68f9b96d421731b4229c8ef2f (diff) | |
download | ffmpeg-930aa451321c4e44fb3663f34dfee024001d0aff.tar.gz |
Use 'enum PixelFormat *' rather than 'int *' as type for the
AVFilterFormats.formats field.
Cleaner / safer.
Originally committed as revision 20274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 2b17dea2a6..4aa11259cc 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 |