History

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

Stefano Sabatini committed 17 years ago

Commit 930aa451 parent c3b27a31 file · +2 −2Browse files

Unified · Split

libavfilter/avfilter.h+2−2
@@ -24,7 +24,7 @@ · 23 unmodified lines
2424
2525 #define LIBAVFILTER_VERSION_MAJOR 1
2626 #define LIBAVFILTER_VERSION_MINOR 0
27−#define LIBAVFILTER_VERSION_MICRO 0
27+#define LIBAVFILTER_VERSION_MICRO 1
2828
2929 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
3030 LIBAVFILTER_VERSION_MINOR, \
@@ -164,7 +164,7 @@ typedef struct AVFilterFormats AVFilterFormats; · 133 unmodified lines
164164 struct AVFilterFormats
165165 {
166166 unsigned format_count; ///< number of formats
167− int *formats; ///< list of formats
167+ enum PixelFormat *formats; ///< list of pixel formats
168168
169169 unsigned refcount; ///< number of references to this list
170170 AVFilterFormats ***refs; ///< references to this list

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t