summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* Postpone API-incompatible changes until the next bumpVittorio Giovara2015-08-28
|
* lavfi: Drop deprecated AVFilterBuffer* codeVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* lavfi: Drop deprecated *_count suffixed variablesVittorio Giovara2015-08-28
| | | | Deprecated in 06/2012.
* lavfi: Drop deprecated public AVFilterPad structVittorio Giovara2015-08-28
| | | | Deprecated in 06/2012.
* vf_scale: Add an option to pass the scaler paramsLuca Barbato2015-08-26
| | | | Reported-By: zehan@magicpony.technology
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-11
| | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: Move the strftime expansion in a separate functionLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Drop stray guardsLuca Barbato2015-08-02
| | | | | | There is a fallback for localtime_r and it is in use already. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* af_channelmap: properly set the supported output channel layoutsAnton Khirnov2015-07-23
| | | | | | | | | | The current code expects query_formats() to be called exactly once, it will leak if it's not called at all (filter initialized, but never configured or used) or try to read freed memory if it's called more than once. Found-by: James Almer <jamrial@gmail.com> CC: libav-stable@libav.org
* af_resample: do not touch the timestamps if we are not resamplingAnton Khirnov2015-07-19
| | | | | | | | | This filter currently assumes that the input audio is continuous and does some timestamps manipulation based on this assumption. This is unnecessary if we are only converting the channel layout or the sample format, without resampling. In such a case, just leave the timestamps as they are.
* lavfi: Add library identifierVittorio Giovara2015-07-01
|
* af_resample: Set the number of samples in the last frameLuca Barbato2015-06-20
| | | | | | Otherwise trailing zeroes would appear. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-05-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavfi: Move avcodec header to the only filter needing itVittorio Giovara2015-05-19
| | | | af_ashowinfo, due to the enum AVAudioServiceType use.
* Revert "lavfi: always check av_expr_parse_and_eval() return value"Anton Khirnov2015-05-05
| | | | | | | This reverts commit 63be97ec403023fb664798432acedaf6e6922527. All those calls were unchecked on purpose, as explained in the comments in the code.
* buffersrc: Use the correct deallocation functionFederico Tomassetti2015-04-22
| | | | | | This correction was suggested to me by Michael Niedermayer Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Add an alpha optionLuca Barbato2015-04-21
| | | | | | And document both `draw` and `alpha`. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* buffersrc: Fix resource leak on errorFederico Tomassetti2015-04-19
| | | | | | Bug-Id: CID 1267902 CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* filtfmts: Avoid null pointer dereferenceHimangi Saraogi2015-04-19
|
* Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-19
| | | | This applies to every library where performance is not critical.
* avfilter: Document avfilter_graph_alloc return valueFederico Tomassetti2015-03-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* formats: Check memory allocationsVittorio Giovara2015-03-12
|
* avfilter: Return more meaningful error codesHimangi Saraogi2015-03-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* graphparser: Check av_get_token() memory errorVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1267891
* libopencv: Check kernel_str life cycleLuca Barbato2015-02-03
| | | | | | | | The string might or might not be set depending if there are args and in case of error it must be freed nonetheless. CC: libav-stable@libav.org Bug-Id: CID 739878 / CID 739882
* hqdn3d: check memory allocations and propagate errorsVittorio Giovara2015-01-29
|
* libopencv: Rework error handling in parse_iplconvkernel()Vittorio Giovara2015-01-27
| | | | | | | Fix 'values' memory leak in case of error. CC: libav-stable@libav.org Bug-Id: CID 739879
* Add a side data type for audio service type.Anton Khirnov2015-01-27
| | | | | Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
* vf_interlace: remove the warning tag in the messageVittorio Giovara2015-01-05
| | | | The log level is already a warning.
* vf_interlace: merge FIELD_LOWER checkVittorio Giovara2015-01-05
|
* vf_interlace: also assert for heightVittorio Giovara2015-01-05
|
* vf_interlace: use image width rather than linesizeVittorio Giovara2015-01-05
| | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
* lavfi: always check av_expr_parse_and_eval() return valueVittorio Giovara2014-12-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703624
* vf_frei0r: do not increment string if it reached the endVittorio Giovara2014-12-08
| | | | | Bug-Id: 778 CC: libav-stable@libav.org
* lavfi: Increase drawtext font size limitsМихаил Муковников2014-12-07
| | | | | | Raise the maximum font size to a larger value. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_interlace: get rid of useless loadsKieran Kunhya2014-11-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_interlace: x86: improve asm performanceMichael Niedermayer2014-11-25
| | | | 4775 decicycles -> 3688 decicycles
* lavfi: clean memory on error in ADD_FORMAT()Vittorio Giovara2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1250334
* vf_interlace: Add SIMD for lowpass filterKieran Kunhya2014-11-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Remove the ifdef for localtime_rMartin Storsjö2014-10-26
| | | | | | | | If it isn't available in the system, we've got a fallback to the normal localtime function, so normal code can assume it is available as long as time_internal.h is included. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter: check filter link validityVittorio Giovara2014-10-24
| | | | | | | Remove now redundant check. CC: libav-stable@libav.org Bug-Id: CID 700371
* vf_format: check input validityVittorio Giovara2014-10-20
| | | | CC: libav-stable@libav.org
* af_resample: check av_opt_set_dict return valueVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087076
* vf_showinfo: Forward the av_image_get_linesize errorVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087086
* vf_drawtext: Do not leak the mmapped textfileLuca Barbato2014-10-18
| | | | | | | And validate its size while at it. CC: libav-stable@libav.org Bug-Id: CID 1244189
* resample: Avoid off-by-1 errors in PTS calcs.Timothy B. Terriberry2014-10-18
| | | | | | | | | | | The rounding used in the PTS calculations in filter_frame() does not actually match the number of samples output by the resampler. This leads to off-by-1 errors in the timestamps indicating gaps and underruns, even when the input timestamps are all contiguous. Bug-Id: 753 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* setpts: Add missing inttypes.h #include for PRId64Diego Biurrun2014-08-21
| | | | Also convert a debug av_log() to av_dlog().
* vsrc_movie: Adjust a silly typo from b977b287f61fea48ecd6251d54a26334213b7ec6Diego Biurrun2014-08-21
|
* avfilter: Remove unused variable from ff_get_video_buffer()Diego Biurrun2014-08-19
|
* vsrc_movie: Avoid a variable indirection in movie_get_frame()Diego Biurrun2014-08-19
| | | | | This avoids an unused variable warning with MSVC since the variable is only used in a debug mode printf statement.