[FFmpeg-devel] [PATCH v2 2/2] avutil/log: added test case for av_log_format_line2

Michael Niedermayer michael at niedermayer.cc
Tue Apr 26 16:08:02 CEST 2016


On Tue, Apr 26, 2016 at 08:31:06AM +0200, Andreas Weis wrote:
> From: Andreas Weis <github at ghulbus-inc.de>
> 
> ---
>  libavutil/log.c | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/libavutil/log.c b/libavutil/log.c
> index 0efba7a..6d192b6 100644
> --- a/libavutil/log.c
> +++ b/libavutil/log.c
> @@ -444,6 +444,17 @@ void avpriv_report_missing_feature(void *avc, const char *msg, ...)
>  // LCOV_EXCL_START
>  #include <string.h>
>  
> +int call_log_format_line2(const char *fmt, char *buffer, int buffer_size, ...)

this should be static, otherwise it can break build as it has no
prototype with some compiler options (like the ones we use)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160426/a8215270/attachment.sig>


More information about the ffmpeg-devel mailing list