summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* hqdn3d: Fix out of array read in LOWPASSLoren Merritt2012-09-22
| | | | | | | Fixes ticket1752 Commit message by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/hue: set to NULL freed pointersStefano Sabatini2012-09-21
| | | | Possibly safer.
* lavfi/hue: fix crash when resetting the saturation expressionStefano Sabatini2012-09-21
| | | | | Previously when saturation was reinited, the old value was freed when setting options, and freed again in PARSE_EXPRESSION().
* vsrc_testsrc: Fix case without a specified durationMichael Niedermayer2012-09-21
| | | | | | Fixes regression since 98f753ec5198d4f74ba9f68cc85badf8a6257547 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/select: make lavc dependency optional.Clément Bœsch2012-09-20
|
* lavfi/testsrc: increase precision of the duration parameterStefano Sabatini2012-09-20
| | | | | Compute duration in microseconds, rather than in timebase units. Decrease approximation errors.
* libavfilter/filtfmts: fix argv/argc checksMichael Niedermayer2012-09-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* bavfilter/filtfmts: fix type for channel layoutsMichael Niedermayer2012-09-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/select: make sure avctx is set before closing it.Clément Bœsch2012-09-18
| | | | | | This avoid a crash when the filter fails before config_input(), typically with a syntax error in the next filter: select=gt(scene\,.4),select=fail
* Merge commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521'Michael Niedermayer2012-09-18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521': alsdec: Check k used for rice decoder. avfiltergraph: silence an uninitialized variable warning xsubenc: reindent lavc: replace AVCodecContext.encode with subtitle-specific callback lavc: add const to private codec class initialization. avconv: don't pass a bogus parameter to avfilter_graph_create_filter(). id3v2: strdup the genre name explicitly. lavf/id3v2: do not export empty fields. buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() lavfi: replace empty input/output lists with null pointers Conflicts: ffmpeg_filter.c libavcodec/alsdec.c libavcodec/dvdsubenc.c libavcodec/utils.c libavcodec/v210dec.h libavfilter/af_channelsplit.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_ass.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfiltergraph: silence an uninitialized variable warningAnton Khirnov2012-09-17
| | | | | | | | | | | | | | | | | | | | The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
| * buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()Anton Khirnov2012-09-17
| |
| * lavfi: replace empty input/output lists with null pointersMans Rullgard2012-09-17
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavfi/ass: mark ass_libavfilter_log_level_map as static const.Clément Bœsch2012-09-16
| |
* | af_pan: Fix sscanf formats to work with buggy sscanf implementationsHendrik Leppkes2012-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some implementations of sscanf do not handle a space before a trailing %n properly. As an example, MSVC's does this for the second insatnce in this patch, for an input of "0x3:c0=c1:c1=c0": 1) Match the final "c0" or "c1". 2) Realize it's at the end of the string. 3) Check for %n. 4) There is no %n, but a space instead. 5) Leave 'len' unitilialized. So, move it out of the sscanf format strings, and call skip_spaces instead. This bug does not affect skip_spaces since %n is the first and only formatting string. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavfi/hue: add dynamic expression evaluation supportJérémy Tran2012-09-15
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavfi/avcodec: apply cosmetics style fixesStefano Sabatini2012-09-14
| |
* | lavfi: check that buffer and link properties match.Nicolas George2012-09-13
| |
* | lavfi: set sample_rate in the default allocator.Nicolas George2012-09-13
| |
* | lavfi/aresample: set buffer properties after copy.Nicolas George2012-09-13
| | | | | | | | | | | | | | The aresample filter changes the format, layout and/or sample rate, it can not copy them blindly from its input. Related to trac ticket #1671.
* | lavfi/amerge: clarify the error message in case of input overlapStefano Sabatini2012-09-11
| |
* | lavfi/amerge: avoid a forward declaration.Clément Bœsch2012-09-11
| |
* | lavfi/amerge: fix input pad name behaviour.Clément Bœsch2012-09-11
| | | | | | | | | | | | This fixes two problems: - the invalid pad.name stack pointer after init() ends - the duplicated name for all inputs
* | lavfi/setpts: set SAMPLE_RATE to NAN when input is no audioStefano Sabatini2012-09-10
| | | | | | | | Should be more robust/consistent.
* | lavfi/setpts: add FRAME_RATE constantStefano Sabatini2012-09-10
| | | | | | | | Useful for dealing with constant frame-rate video.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: Only compile motion_est code when encoders are enabled mem: fix typo in check for __ICC fate: mp3: drop redundant CMP setting rtp: Depacketization of JPEG (RFC 2435) Rename ff_put_string to avpriv_put_string mjpeg: Rename some symbols to avpriv_* instead of ff_* yadif: cosmetics Conflicts: Changelog libavcodec/mjpegenc.c libavcodec/x86/Makefile libavfilter/vf_yadif.c libavformat/version.h libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * yadif: cosmeticsLuca Barbato2012-09-09
| |
* | lavfi: drop deprecated and pointless avfilter_default_end_frame() functionStefano Sabatini2012-09-09
| | | | | | | | | | | | | | | | Fix warning when compiling boxblur. While this is technically a major API break, practically there will be no one using that function since the filtering API is mostly private, so that function alone is not usable.
* | vf_idet: Remove emmsDerek Buitenhuis2012-09-07
| | | | | | | | | | | | | | There is no MMX code anyway. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_colormatrix: Drop unused strings.h headerDerek Buitenhuis2012-09-07
| | | | | | | | | | | | | | It already uses av_strcasecmp. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov_chan: Pass a separate AVIOContext for reading af_asyncts: check return value from lavr when flushing. mss2: simplify loop in decode_rle() mss12: avoid unnecessary division in arith*_get_bit() mss2: do not try to read too many palette entries mpegvideo: set AVFrame fields to NULL after freeing the base memory configure: Set the right cc_e flags for msvc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * af_asyncts: check return value from lavr when flushing.Anton Khirnov2012-09-07
| | | | | | | | | | Fixes an infinite loop on flush when avresample_get_delay() still reports some samples but avresample_convert() doesn't return any data.
* | lavfi: add qp_table_sizeMichael Niedermayer2012-09-07
| | | | | | | | | | | | This avoid recalculating it and in case w/h changed avoids crashes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: 10l fix () placementMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: factor copy_video_props() outMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfilter: pass QP table through the filter chainMichael Niedermayer2012-09-07
| | | | | | | | | | | | Any volunteers to port the pp and spp filters from libmpcodec? Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/mp: drop rotate wrapperStefano Sabatini2012-09-06
| | | | | | | | The native filter transpose is perfectly equivalent.
* | lavfi/tinterlace: declare source buffers in copy_picture_field() as constStefano Sabatini2012-09-06
| | | | | | | | Increase performance (slightly).
* | lavfi/tinterlace: set inlink->cur to NULL, since it is stored internallyStefano Sabatini2012-09-06
| | | | | | | | | | If not set to NULL, the reference is freed by ff_end_frame(), and later accessed in end_frame() by the filter code, causing a crash.
* | vf_hue: fix AVOption defaultsMichael Niedermayer2012-09-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_scale: fix incompatible pointer type warningMichael Niedermayer2012-09-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '21bc44038491e525335ad763883b0288402ff6a0'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | * commit '21bc44038491e525335ad763883b0288402ff6a0': avopt: Explicitly store rational option defaults in .dbl Conflicts: libavfilter/buffersrc.c libavfilter/vsrc_testsrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Explicitly store rational option defaults in .dblMartin Storsjö2012-09-04
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'c7b610aa0b1bac47eea0056b13fe6e982b85844a'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c7b610aa0b1bac47eea0056b13fe6e982b85844a': avopt: Explicitly store float/double option defaults in .dbl Conflicts: libavcodec/ac3dec.c libavcodec/libx264.c libavfilter/af_amix.c libavfilter/af_asyncts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Explicitly store float/double option defaults in .dblMartin Storsjö2012-09-04
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9': avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options_table.h libavcodec/snowenc.c libavcodec/tiffenc.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/af_asyncts.c libavfilter/af_join.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_delogo.c libavfilter/vf_drawtext.c libavformat/http.c libavformat/img2dec.c libavformat/img2enc.c libavformat/movenc.c libavformat/mpegenc.c libavformat/mpegtsenc.c libavformat/options_table.h libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078': avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member Conflicts: libavcodec/libvpxenc.c libavcodec/options_table.h libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-04
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '124134e42455763b28cc346fed1d07017a76e84e'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '124134e42455763b28cc346fed1d07017a76e84e': avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member Conflicts: libavcodec/aacenc.c libavcodec/libopenjpegenc.c libavcodec/options_table.h libavdevice/bktr.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/vf_drawtext.c libavformat/movenc.c libavformat/options_table.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>