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

Showing the changes to libavfilter/avfilter.h (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.h+2−2
@@ -24,7 +24,7 @@ · 23 unmodified lines
24 24
25#define LIBAVFILTER_VERSION_MAJOR 125#define LIBAVFILTER_VERSION_MAJOR 1
26#define LIBAVFILTER_VERSION_MINOR 026#define LIBAVFILTER_VERSION_MINOR 0
27#define LIBAVFILTER_VERSION_MICRO 027#define LIBAVFILTER_VERSION_MICRO 1
28 28
29#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \29#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
30 LIBAVFILTER_VERSION_MINOR, \30 LIBAVFILTER_VERSION_MINOR, \
@@ -164,7 +164,7 @@ typedef struct AVFilterFormats AVFilterFormats; · 133 unmodified lines
164struct AVFilterFormats164struct AVFilterFormats
165{165{
166 unsigned format_count; ///< number of formats166 unsigned format_count; ///< number of formats
167 int *formats; ///< list of formats167 enum PixelFormat *formats; ///< list of pixel formats
168 168
169 unsigned refcount; ///< number of references to this list169 unsigned refcount; ///< number of references to this list
170 AVFilterFormats ***refs; ///< references to this list170 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