summaryrefslogtreecommitdiff
path: root/libavfilter/graphparser.c
Commit message (Collapse)AuthorAge
* graphparser: add a NULL check on the argument passed to strstrStefano Sabatini2011-04-25
| | | | | | | Fix crash in create_filter() which occurrs if a scale filter with no args is provided. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_parse() not free the input graphStefano Sabatini2011-02-04
| | | | | | | | | | | Make avfilter_graph_parse() only release the internal structures allocated during the parsing, and leave to free the graph itself to the calling code. This approach looks cleaner, as the graph is not allocated by the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add the word "Parsed" in the parsed filter names.Stefano Sabatini2011-01-14
| | | | Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_parse_graph() output a more meaningful message when anStefano Sabatini2010-12-12
| | | | | | invalid filterchain is detected. Originally committed as revision 25936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move the av_parse_color() function from libavfilter to libavcoreAurelien Jacobs2010-11-17
| | | | Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing check on the existence of an associated output pad forStefano Sabatini2010-11-11
| | | | | | | | each specified output link label. Fix crash. Originally committed as revision 25723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_destroy() as avfilter_free().Stefano Sabatini2010-11-08
| | | | | | | The new name is shorter and more consistent with the FFmpeg API, and sounds less evil. Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove graphparser.h header, move AVFilterInOut andStefano Sabatini2010-11-07
| | | | | | | | avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h. Simplify, and less confusing for the user. Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend documentation for parse_filter().Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25703 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterInOut field filter to filter_ctx, more semantically correct.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_graph_parse() always return meaningful error codes.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_outputs() always return meaningful error codes.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing memory check in parse_inputs(), and fix possible (yet very ↵Stefano Sabatini2010-11-07
| | | | | | unlikely) crash. Originally committed as revision 25697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_inputs() return AVERROR(EINVAL) rather than -1 in case theStefano Sabatini2010-11-07
| | | | | | link label parsed by parse_link_name() is invalid. Originally committed as revision 25696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing check in link_filter_inouts(), and fix possible (yet very ↵Stefano Sabatini2010-11-07
| | | | | | unlikely) crash. Originally committed as revision 25695 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename the variable filter to filt_ctx in link_filter_inouts, as the ↵Stefano Sabatini2010-11-07
| | | | | | | | variable denotes a filter context. Less confusing. Originally committed as revision 25694 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make link_filter_inouts() return meaningful error codes.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the signature of parse_filter() to make it return an error code.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25692 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the signature of create_filter() to make it return an error code.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_graph_destroy() to avfilter_graph_free().Stefano Sabatini2010-11-04
| | | | | | | | The new name is shorter and more consistent with the rest of the API. This change breaks libavfilter API/ABI. Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_get_token() from libavfilter to libavutil.Stefano Sabatini2010-09-27
| | | | Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_open() signature, from:Stefano Sabatini2010-08-11
| | | | | | | | | | | AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name); to: int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name); This way it is possible to propagate an error code telling the reason of the failure. Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document create_filter().Stefano Sabatini2010-07-22
| | | | Originally committed as revision 24423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add simple doxy to link_filter().Stefano Sabatini2010-07-22
| | | | Originally committed as revision 24422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix documentation for parse_link_name().Stefano Sabatini2010-07-22
| | | | Originally committed as revision 24421 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consistently use Uppercase for the first character of the logStefano Sabatini2010-07-22
| | | | | | messages. Originally committed as revision 24420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make link_filter() propagate the generated error code.Stefano Sabatini2010-07-22
| | | | Originally committed as revision 24419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix style: "if(" -> "if (".Stefano Sabatini2010-07-22
| | | | Originally committed as revision 24418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use default graph swscale opts when no opts are suppliedBaptiste Coudurier2010-07-03
| | | | Originally committed as revision 24016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use filter name when graph parser add filtersBaptiste Coudurier2010-05-16
| | | | Originally committed as revision 23147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_filter() parsing more robust.Stefano Sabatini2009-12-11
| | | | | | | Add ';' and '\n' to the terminating characters for the name of a filter, and ';' to the terminating characters for its args. Originally committed as revision 20800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* "[" is a terminating char for the filter name. This fixes the parsing ofVitor Sessak2009-05-08
| | | | | | | | things like [in] vflip [out]; Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make graphparser.c use av_get_token().Stefano Sabatini2009-05-01
| | | | | | This also avoids the need for '\=' escaping. Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove consume_whitespace() and replace it with direct calls toStefano Sabatini2009-04-21
| | | | | | strspn(). Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_parse_graph() to avfilter_graph_parse(), for betterStefano Sabatini2009-02-26
| | | | | | consistency with the rest of the API. Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for betterStefano Sabatini2009-02-26
| | | | | | consistency with the rest of the API. Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avfilter_parse_graph() invalid graph description detection.Stefano Sabatini2009-02-14
| | | | | | | See the thread: "[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()". Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print a warning and fail if the graph description cannot beStefano Sabatini2009-01-16
| | | | | | parsed. Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change thisIsAVar variable names to this_is_a_var style, moreStefano Sabatini2008-12-27
| | | | | | consistent with the rest of libav*. Originally committed as revision 16356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo: ommitted -> omitted.Stefano Sabatini2008-12-26
| | | | Originally committed as revision 16353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Choose better names for the variables in create_filter().Stefano Sabatini2008-12-26
| | | | Originally committed as revision 16320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split openLinks linked list into openInputs and openOutputsVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:20:09 Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* One more memory leakVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03 Originally committed as revision 13359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetical: move statementVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19 Originally committed as revision 13358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Plug some memory leaksVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:15:18 Originally committed as revision 13357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge variable initialization and declarationVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:01:01 Originally committed as revision 13356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CosmeticsVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23 Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnused varVitor Sessak2008-05-24
| | | | | | Commited in SoC by Vitor Sessak on 2008-05-24 16:58:58 Originally committed as revision 13354 to svn://svn.ffmpeg.org/ffmpeg/trunk