Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
095290f9
Commit
095290f9
authored
Apr 20, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: provide the opt.h header until the next bump
AVOptions were moved to libavutil only recently.
parent
a975dbc8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
Makefile
libavcodec/Makefile
+1
-1
opt.h
libavcodec/opt.h
+16
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/Makefile
View file @
095290f9
...
...
@@ -3,7 +3,7 @@ include $(SUBDIR)../config.mak
NAME
=
avcodec
FFLIBS
=
avutil
HEADERS
=
avcodec.h avfft.h dxva2.h vaapi.h vdpau.h version.h xvmc.h
HEADERS
=
avcodec.h avfft.h dxva2.h
opt.h
vaapi.h vdpau.h version.h xvmc.h
OBJS
=
allcodecs.o
\
audioconvert.o
\
...
...
libavcodec/opt.h
0 → 100644
View file @
095290f9
/**
* @file
* This header is provided for compatibility only and will be removed
* on next major bump
*/
#ifndef AVCODEC_OPT_H
#define AVCODEC_OPT_H
#include "libavcodec/version.h"
#if FF_API_OPT_H
#include "libavutil/opt.h"
#endif
#endif
libavcodec/version.h
View file @
095290f9
...
...
@@ -62,5 +62,8 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OPT_H
#define FF_API_OPT_H (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#endif
/* AVCODEC_VERSION_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment