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
44f566b7
Commit
44f566b7
authored
Apr 22, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make av_log_ask_for_sample() accept a variable number of arguments.
parent
b2832c39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
avcodec.h
libavcodec/avcodec.h
+1
-1
utils.c
libavcodec/utils.c
+8
-2
No files found.
libavcodec/avcodec.h
View file @
44f566b7
...
...
@@ -4116,7 +4116,7 @@ void av_log_missing_feature(void *avc, const char *feature, int want_sample);
* a pointer to an AVClass struct
* @param[in] msg string containing an optional message, or NULL if no message
*/
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
);
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
,
...
);
/**
* Register the hardware accelerator hwaccel.
...
...
libavcodec/utils.c
View file @
44f566b7
...
...
@@ -1133,13 +1133,19 @@ void av_log_missing_feature(void *avc, const char *feature, int want_sample)
av_log
(
avc
,
AV_LOG_WARNING
,
"
\n
"
);
}
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
)
void
av_log_ask_for_sample
(
void
*
avc
,
const
char
*
msg
,
...
)
{
va_list
argument_list
;
va_start
(
argument_list
,
msg
);
if
(
msg
)
av_
log
(
avc
,
AV_LOG_WARNING
,
"%s "
,
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
);
}
static
AVHWAccel
*
first_hwaccel
=
NULL
;
...
...
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