Commit Graph

35 Commits

Author SHA1 Message Date
Jindrich Makovicka 67bbf07fb5 log.h: make AVClass a named struct
'struct AVClass' is used in the code since
641c7afe3c, but AVClass is typedeffed as
an anonymous struct.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-12 23:39:31 +02:00
Anton Khirnov 641c7afe3c AVOptions: add new API for enumerating children.
This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)

This will also allow the new setting/reading API to transparently apply
to children contexts.
2011-10-12 16:51:16 +02:00
Martin Storsjö 9abbe8cc13 Use av_printf_format to check the usage of printf style functions
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.

Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-23 20:17:46 +03:00
Anton Khirnov dc59ec5e79 AVOptions: add av_opt_find() as a replacement for av_find_opt. 2011-06-16 20:24:56 +02:00
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Luca Barbato dfd2a005eb Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
2011-01-29 23:55:37 +01:00
Michael Niedermayer 1c1c80f0a3 2nd try to fix av_log() repeated detection
Originally committed as revision 25174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 15:37:01 +00:00
Diego Biurrun eee9119ad1 Add parameter names to av_log/av_vlog function declarations.
Doxygen gets confused without an explicit parameter name.

Originally committed as revision 23972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:03:23 +00:00
Måns Rullgård 49bd8e4b84 Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Michael Niedermayer 2c1bb26535 Make it possible for a log context to keep track of its parent context.
This is usefull to keep track and display relations where things are a
bit more complex (like AVProtocols or demuxers used by demuxers and such)

Originally committed as revision 23199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 22:50:39 +00:00
Michael Niedermayer 8d2a5139da av_default_item_name() so Simply AVClasses need 1 function less.
Originally committed as revision 23198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 22:45:04 +00:00
Michael Niedermayer 3fe1ec39c6 Add means to adjust the log level per context.
Originally committed as revision 23059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 20:41:20 +00:00
Jai Menon 707cd944d6 Fix typo.
Originally committed as revision 22988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 20:08:02 +00:00
Michael Niedermayer 2308b6c19a Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 20:00:23 +00:00
Stefano Sabatini 68485d2728 Remove useless definition of struct AVCLASS.
Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 11:30:42 +00:00
Stefano Sabatini bf7e799c9e Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.

See the thread: "[RFC] Should we use doxygen markup?".

Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-06 09:35:15 +00:00
Diego Biurrun 082dea8e40 Remove all remaining code that was disabled through the major version bump.
Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 10:24:47 +00:00
Diego Biurrun 7d685b486b spelling/grammar/consistency review part III
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 23:16:49 +00:00
Diego Biurrun bfe3676feb spelling/grammar/consistency review part II
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 23:03:17 +00:00
Aurelien Jacobs af5f434f8c add the necessary include for LIBAV*_VERSION_*
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:14:43 +00:00
Stefano Sabatini 987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Diego Biurrun 91605c69fb minor wording fix
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:41:13 +00:00
Diego Biurrun e4a957d1a7 minor spelling fix
Originally committed as revision 13066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:03:30 +00:00
Stefano Sabatini 95a6a015e3 Enhance documentation for AVClass
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit

Originally committed as revision 12934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 10:13:38 +00:00
Stefano Sabatini 07c37ca7fc remove useless extern keyword.
patch by Stefano Sabatini: stefano sabatini-lala poste it

Originally committed as revision 12790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 14:18:33 +00:00
Måns Rullgård a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Diego Biurrun 5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Panagiotis Issaris 3ec9a7873f Move the unaltered Doxygen docs from the log source code to the accompanying
header file.

Originally committed as revision 8225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:04:49 +00:00
Luca Abeni 434f2c18e8 Increase the av_log() levels, and add some documentation for them
Originally committed as revision 7614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:47:10 +00:00
Axel Holzinger 411983c1f2 Allow to uninstall a custom log callback
patch by Axel Holzinger % aholzinger A gmx P de %
original thread:
date: Jan 11, 2007 4:54 PM
subject: [Ffmpeg-devel] [PATCH] uninstall custom log callback

Originally committed as revision 7446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 17:10:34 +00:00
Baptiste Coudurier 3666f75d33 make option field const
Originally committed as revision 7093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 00:29:15 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun 04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Michael Niedermayer 918a45917c removing redundant mess next time we break compatiility
Originally committed as revision 5804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 11:55:08 +00:00
Luca Abeni 4b45de0e87 Move av_log() & friends to libavutil
Originally committed as revision 5781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 11:00:55 +00:00