Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
20d33ee8
Commit
20d33ee8
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove the FF_API_OPT_SHOW cruft.
parent
42420e7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
libavcodec/opt.c
libavcodec/opt.c
+0
-7
libavcodec/opt.h
libavcodec/opt.h
+0
-6
libavcodec/version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/opt.c
View file @
20d33ee8
...
...
@@ -80,10 +80,3 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){
return
o
;
}
#endif
#if FF_API_OPT_SHOW
int
av_opt_show
(
void
*
obj
,
void
*
av_log_obj
){
return
av_opt_show2
(
obj
,
av_log_obj
,
AV_OPT_FLAG_ENCODING_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
,
0
);
}
#endif
libavcodec/opt.h
View file @
20d33ee8
...
...
@@ -45,11 +45,5 @@ attribute_deprecated const AVOption *av_set_string(void *obj, const char *name,
*/
attribute_deprecated
const
AVOption
*
av_set_string2
(
void
*
obj
,
const
char
*
name
,
const
char
*
val
,
int
alloc
);
#endif
#if FF_API_OPT_SHOW
/**
* @deprecated Use av_opt_show2() instead.
*/
attribute_deprecated
int
av_opt_show
(
void
*
obj
,
void
*
av_log_obj
);
#endif
#endif
/* AVCODEC_OPT_H */
libavcodec/version.h
View file @
20d33ee8
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_PALETTE_CONTROL
#define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OPT_SHOW
#define FF_API_OPT_SHOW (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_AUDIO_OLD
#define FF_API_AUDIO_OLD (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
...
...
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