Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
540f1c7b
Commit
540f1c7b
authored
16 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
Implement avfilter_version().
Originally committed as revision 14669 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b3b990b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavfilter/avfilter.c
+4
-0
4 additions, 0 deletions
libavfilter/avfilter.c
libavfilter/avfilter.h
+6
-1
6 additions, 1 deletion
libavfilter/avfilter.h
with
10 additions
and
1 deletion
libavfilter/avfilter.c
+
4
−
0
View file @
540f1c7b
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
#include
"libavcodec/imgconvert.h"
#include
"libavcodec/imgconvert.h"
#include
"avfilter.h"
#include
"avfilter.h"
unsigned
avfilter_version
(
void
)
{
return
LIBAVFILTER_VERSION_INT
;
}
/** list of registered filters */
/** list of registered filters */
struct
FilterList
struct
FilterList
{
{
...
...
This diff is collapsed.
Click to expand it.
libavfilter/avfilter.h
+
6
−
1
View file @
540f1c7b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#define FFMPEG_AVFILTER_H
#define FFMPEG_AVFILTER_H
#define LIBAVFILTER_VERSION_MAJOR 0
#define LIBAVFILTER_VERSION_MAJOR 0
#define LIBAVFILTER_VERSION_MINOR
0
#define LIBAVFILTER_VERSION_MINOR
1
#define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
#include
<stddef.h>
#include
<stddef.h>
#include
"libavcodec/avcodec.h"
#include
"libavcodec/avcodec.h"
/**
* Returns the LIBAVFILTER_VERSION_INT constant.
*/
unsigned
avfilter_version
(
void
);
typedef
struct
AVFilterContext
AVFilterContext
;
typedef
struct
AVFilterContext
AVFilterContext
;
typedef
struct
AVFilterLink
AVFilterLink
;
typedef
struct
AVFilterLink
AVFilterLink
;
typedef
struct
AVFilterPad
AVFilterPad
;
typedef
struct
AVFilterPad
AVFilterPad
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment