summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/indeo2: use init_get_bits8Paul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* x86/hevc_sao: add ff_hevc_sao_edge_filter_{8,16}_{10,12}James Almer2015-12-20
| | | | | Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/hevc_sao: simplify sao_edge_filter 10/12bitJames Almer2015-12-20
| | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/hevc_sao: simplify sao_band_filter 10/12bitJames Almer2015-12-20
| | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/avf_showfreqs: make it possible to split channelsPaul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/flacenc: use designated initializers for AVClassPaul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/s302menc: check if buf_size can actually be put into 16bit sizePaul B Mahol2015-12-20
| | | | | | This disallows creating unplayable audio. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/s302menc: set supported channel layouts by codecPaul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* nuv: sanitize negative fps rateAndreas Cadhalpun2015-12-20
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* rawdec: only exempt BIT0 with need_copy from buffer sanity checkAndreas Cadhalpun2015-12-20
| | | | | | | | Otherwise the too small buffer is directly used in the frame, causing segmentation faults, when trying to use the frame. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* mlvdec: check that index_entries existAndreas Cadhalpun2015-12-20
| | | | | | | This fixes NULL pointer dereferencing. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/mpeg4videodec: also for empty partitioned slicesMichael Niedermayer2015-12-19
| | | | | | | | Fixes assertion failure Fixes: id_acf3e47f864e1ee4c7b86c0653e0ff31e5bde56e.m4v Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu/libm: add copysign hackGanesh Ajjanagadde2015-12-19
| | | | | | | | | | | | For systems with broken libms. Tested with NAN, -NAN, INFINITY, -INFINITY, +/-x for regular double x and combinations of these. Old versions of MSVC need some UINT64_C hackery. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avcodec/Makefile: add missing dep for g723_1 encoderJames Almer2015-12-19
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_dynaudnorm: use av_malloc_array()Paul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/h264_refs: Fix long_idx checkMichael Niedermayer2015-12-19
| | | | | | | | Fixes out of array read Fixes mozilla bug 1233606 Found-by: Tyson Smith Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/arm/yuv2rgb: add ff_yuv420p_to_{argb,rgba,abgr,bgra}_neon_{16,32}Matthieu Bouron2015-12-19
|
* swscale/arm/yuv2rgb: disable neon if accurate_rnd is enabledMatthieu Bouron2015-12-19
| | | | | This disables the 32bit precision neon code path in favor of the default C one and avoids breaking fate.
* avcodec/ffv1enc: Fix 2 pass mode with the default rc tableMichael Niedermayer2015-12-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_stereo3d: add interleave columns input supportPaul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavu/intmath: add faster clz supportGanesh Ajjanagadde2015-12-19
| | | | | | | | This should be useful for the sofalizer filter. Reviewed-by: Kieran Kunhya <kierank@ob-encoder.com> Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vsrc_mandelbrot: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and is more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_cropdetect: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavf/hlsenc: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | Mainly cosmetic here. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_idet: replace round and cast by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | | lrint is faster and conveys the intent better here. It is safe as long int has at least 32 bits. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavc/aacsbr: sbr_dequant optimizationGanesh Ajjanagadde2015-12-19
| | | | | | | | | | | | | | | | | | | | | | This uses ff_exp2fi to get a speedup (~ 6x). sample benchmark (Haswell, GNU/Linux): old: 19102 decicycles in sbr_dequant, 1023 runs, 1 skips 19002 decicycles in sbr_dequant, 2045 runs, 3 skips 17638 decicycles in sbr_dequant, 4093 runs, 3 skips 15825 decicycles in sbr_dequant, 8189 runs, 3 skips 16404 decicycles in sbr_dequant, 16379 runs, 5 skips new: 3063 decicycles in sbr_dequant, 1024 runs, 0 skips 3049 decicycles in sbr_dequant, 2048 runs, 0 skips 2968 decicycles in sbr_dequant, 4096 runs, 0 skips 2818 decicycles in sbr_dequant, 8191 runs, 1 skips 2853 decicycles in sbr_dequant, 16383 runs, 1 skips Reviewed-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* nutdec: reject negative value_len in read_sm_dataAndreas Cadhalpun2015-12-19
| | | | | | | | | | | If it is negative, it can cause the byte position to move backwards in avio_skip, which in turn makes sm_size negative and thus size larger than the size of the packet buffer, causing invalid writes in avio_read. Also fix potential overflow of avio_tell(bc) + value_len. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* xwddec: prevent overflow of lsize * avctx->heightAndreas Cadhalpun2015-12-19
| | | | | | | | | This is used to check if the input buffer is large enough, so if this overflows it can cause a false negative leading to a segmentation fault in bytestream2_get_bufferu. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* ffplay: remove existing AVPicture usageMarton Balint2015-12-19
| | | | | | | It is deprecated. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* nutdec: only copy the header if it existsAndreas Cadhalpun2015-12-19
| | | | | | | | Fixes ubsan runtime error: null pointer passed as argument 2, which is declared to never be null Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* ffserver: refactor build_feed_streams()Reynaldo H. Verdejo Pinochet2015-12-19
| | | | | | | | | | * Avoid excesive nesting that made it really hard to follow * Drop unneeded vars * Factor out codec compatibility check routine * Ensure inputs are closed and contexts are freed as needed before returning Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: refactor build_file_streams()Reynaldo H. Verdejo Pinochet2015-12-19
| | | | | | Avoid unneeded nesting, drop redundant var Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: unify exit path from build_feed_streams()Reynaldo H. Verdejo Pinochet2015-12-19
| | | | | | | Exit from main on build_feed_streams() failures & use standard EXIT_ codes on error out/normal exit. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* swscale/arm/yuv2rgb: simplify process_16px_* macro callMatthieu Bouron2015-12-19
|
* avcodec/arm64: fix inverted register order in transpose_4x4HJanne Grunau2015-12-19
| | | | | | | | Fix related register order issue in ff_h264_idct_add_neon. Found-by: zjh8890 <243186085@qq.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_delogo: change the definition of logo_x2 and logo_y2Jean Delvare2015-12-19
| | | | | | | | | In the code we keep using logo_x2-1 and logo_y2-1 rather than logo_x2 and logo_y2 themselves. Define them to be what we need instead, to avoid the repeated subtractions. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* oggparsedaala: sync with current bitstream syntaxRostislav Pehlivanov2015-12-18
| | | | | | | Since the parser was merged back almost 2 months ago this is the first time the bitstream of the container has been updated. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avfilter/vf_stereo3d: fix interleaved columns outputPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: multiply linesize only once for interleaved row to monoPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/ffv1enc: unbreak -coder optionMichael Niedermayer2015-12-18
| | | | | | This fixes a segfault caused by moving the coder option and changing its semantics Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/arm/yuv2rgb: fix slicingClément Bœsch2015-12-18
|
* exr: fix out of bounds read in get_codeAndreas Cadhalpun2015-12-18
| | | | | | | This macro unconditionally used out[-1], which causes an out of bounds read, if out is the very beginning of the buffer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* on2avc: limit number of bits to 30 in get_egolombAndreas Cadhalpun2015-12-18
| | | | | | | | | | More don't fit into the integer output. Also use get_bits_long, since get_bits only supports reading up to 25 bits, while get_bits_long supports the full integer range. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* acenc: remove deprecated avctx->frame_bits useRostislav Pehlivanov2015-12-18
| | | | | | | | | The type of last_frame_pb_count was chosen to be an int since overflow is impossible (the spec says the maximum bits per frame is 6144 per channel and the encoder checks for that). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com>
* doc/filters: copy all input modes to output modes.Paul B Mahol2015-12-18
| | | | | | For people who cant read. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add fast path for interleave rows to monoPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '458e53f51fc75d08df884f8e9eb3d7ded23e97b3'Hendrik Leppkes2015-12-18
|\ | | | | | | | | | | | | * commit '458e53f51fc75d08df884f8e9eb3d7ded23e97b3': mpegvideo_enc: actually add the side data with vbv_delay to the packet Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpegvideo_enc: actually add the side data with vbv_delay to the packetAnton Khirnov2015-12-12
| | | | | | | | Fixes 2507b5dd674834be7261772996f47ae3b95cca69
* | Merge commit 'b0b133b8c02984ba0a50448f632a5dd8a50c9045'Hendrik Leppkes2015-12-18
|\| | | | | | | | | | | | | * commit 'b0b133b8c02984ba0a50448f632a5dd8a50c9045': hevcdsp: use a macro for .rodata section Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hevcdsp: use a macro for .rodata sectionDave Yeo2015-12-11
| | | | | | | | | | | | | | fixes assembling on OS/2 Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>