containing an error code.
Allow these functions to convey the reason of the failure to the
calling function, failure which is not always due to a parsing error
but it may depend for example on a memory problem.
Also fix several potential memleaks.
Originally committed as revision 23402 to svn://svn.ffmpeg.org/ffmpeg/trunk
ff_parse_and_eval_expr(), place the names for constants/functions
before the corresponding values.
This looks more readable, as the user is expected to know the names
before the values.
Originally committed as revision 23149 to svn://svn.ffmpeg.org/ffmpeg/trunk
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Original commit message:
Very evil missuse of svn to test if AVOption and AVOption2 are compatible.
If this test triggers anywhere for anyone, revert this commit immedeatly.
Ill revert this in a day or 2, its just so we know beforehand if the idea
with the union is doable or not without breaking ABI/API.
Originally committed as revision 20264 to svn://svn.ffmpeg.org/ffmpeg/trunk
If this test triggers anywhere for anyone, revert this commit immedeatly.
Ill revert this in a day or 2, its just so we know beforehand if the idea
with the union is doable or not without breaking ABI/API.
Originally committed as revision 20249 to svn://svn.ffmpeg.org/ffmpeg/trunk
r18826 | stefano | 2009-05-14 20:50:58 +0200 (Thu, 14 May 2009) | 2 lines
Make av_set_string3() print a message in case of unknown option.
This change led to multiple identical error messages to be printed if an option
was not found.
Originally committed as revision 20172 to svn://svn.ffmpeg.org/ffmpeg/trunk
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.
Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
to distinguish between a not found option failure and a not valid
value failure.
Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.
This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.
See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".
Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type
Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
unit = NULL, the function could pass NULL to strcmp and cause a segfault.
Patch by Kamil Nowosad, k nowosad % students mimuw edu pl.
Original thread:
Subject: [PATCH] small bugfix in av_find_opt()
Date: 03/23/2007 12:20 PM
Originally committed as revision 8553 to svn://svn.ffmpeg.org/ffmpeg/trunk
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: Mar 24, 2007 3:53 PM
subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config
Originally committed as revision 8552 to svn://svn.ffmpeg.org/ffmpeg/trunk
opt.c:327: warning: no return statement in function returning non-void
opt_list return value is never checked.
Approved by Michael.
Originally committed as revision 6593 to svn://svn.ffmpeg.org/ffmpeg/trunk