Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0337adfa
Commit
0337adfa
authored
Dec 05, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: Drop deprecated missing sample log function
Deprecated in 01/2013.
parent
bc143ce1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
62 deletions
+0
-62
avcodec.h
libavcodec/avcodec.h
+0
-30
utils.c
libavcodec/utils.c
+0
-29
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
0337adfa
...
@@ -5310,36 +5310,6 @@ void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size);
...
@@ -5310,36 +5310,6 @@ void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size);
*/
*/
unsigned
int
av_xiphlacing
(
unsigned
char
*
s
,
unsigned
int
v
);
unsigned
int
av_xiphlacing
(
unsigned
char
*
s
,
unsigned
int
v
);
#if FF_API_MISSING_SAMPLE
/**
* Log a generic warning message about a missing feature. This function is
* intended to be used internally by Libav (libavcodec, libavformat, etc.)
* only, and would normally not be used by applications.
* @param[in] avc a pointer to an arbitrary struct of which the first field is
* a pointer to an AVClass struct
* @param[in] feature string containing the name of the missing feature
* @param[in] want_sample indicates if samples are wanted which exhibit this feature.
* If want_sample is non-zero, additional verbiage will be added to the log
* message which tells the user how to report samples to the development
* mailing list.
* @deprecated Use avpriv_report_missing_feature() instead.
*/
attribute_deprecated
void
av_log_missing_feature
(
void
*
avc
,
const
char
*
feature
,
int
want_sample
);
/**
* Log a generic warning message asking for a sample. This function is
* intended to be used internally by Libav (libavcodec, libavformat, etc.)
* only, and would normally not be used by applications.
* @param[in] avc a pointer to an arbitrary struct of which the first field is
* a pointer to an AVClass struct
* @param[in] msg string containing an optional message, or NULL if no message
* @deprecated Use avpriv_request_sample() instead.
*/
attribute_deprecated
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
,
...)
av_printf_format
(
2
,
3
);
#endif
/* FF_API_MISSING_SAMPLE */
/**
/**
* Register the hardware accelerator hwaccel.
* Register the hardware accelerator hwaccel.
*/
*/
...
...
libavcodec/utils.c
View file @
0337adfa
...
@@ -1359,35 +1359,6 @@ int ff_match_2uint16(const uint16_t(*tab)[2], int size, int a, int b)
...
@@ -1359,35 +1359,6 @@ int ff_match_2uint16(const uint16_t(*tab)[2], int size, int a, int b)
return
i
;
return
i
;
}
}
#if FF_API_MISSING_SAMPLE
FF_DISABLE_DEPRECATION_WARNINGS
void
av_log_missing_feature
(
void
*
avc
,
const
char
*
feature
,
int
want_sample
)
{
av_log
(
avc
,
AV_LOG_WARNING
,
"%s is not implemented. Update your Libav "
"version to the newest one from Git. If the problem still "
"occurs, it means that your file has a feature which has not "
"been implemented.
\n
"
,
feature
);
if
(
want_sample
)
av_log_ask_for_sample
(
avc
,
NULL
);
}
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
,
...)
{
va_list
argument_list
;
va_start
(
argument_list
,
msg
);
if
(
msg
)
av_vlog
(
avc
,
AV_LOG_WARNING
,
msg
,
argument_list
);
av_log
(
avc
,
AV_LOG_WARNING
,
"If you want to help, upload a sample "
"of this file to ftp://upload.libav.org/incoming/ "
"and contact the libav-devel mailing list.
\n
"
);
va_end
(
argument_list
);
}
FF_ENABLE_DEPRECATION_WARNINGS
#endif
/* FF_API_MISSING_SAMPLE */
static
AVHWAccel
*
first_hwaccel
=
NULL
;
static
AVHWAccel
*
first_hwaccel
=
NULL
;
void
av_register_hwaccel
(
AVHWAccel
*
hwaccel
)
void
av_register_hwaccel
(
AVHWAccel
*
hwaccel
)
...
...
libavcodec/version.h
View file @
0337adfa
...
@@ -47,9 +47,6 @@
...
@@ -47,9 +47,6 @@
* the public API and may change, break or disappear at any time.
* the public API and may change, break or disappear at any time.
*/
*/
#ifndef FF_API_MISSING_SAMPLE
#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_LOWRES
#ifndef FF_API_LOWRES
#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 58)
#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#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