summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* configure: Force mingw's ld to keep the reloc sectionAlex Smith2015-09-23
| | | | | | | | | | Binutils will always strip the relocation information from executable files even if it needs it (dynamicbase/ASLR). We can work around this by using the pic-executable flag combined with setting the correct entry point since apparently ld forgets what that should be. This problem affects both 32 and 64-bit mingw-w64. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/x86/mpegaudiodsp: silence -Wunused-variable on --disable-mmxGanesh Ajjanagadde2015-09-22
| | | | | | | | | This silences -Wunused-variable when compiled with --disable-mmx, e.g http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx. The alternative of header guards will make it far too ugly. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/x86/rv40dsp_init: silence -Wunused-variable on --disable-mmxGanesh Ajjanagadde2015-09-22
| | | | | | | | | This silences -Wunused-variable when compiled with --disable-mmx, e.g http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx. The alternative of header guards will make it far too ugly. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/hermite: fix "libavfilter/hermite.h:19:15: error: no previous ↵Michael Niedermayer2015-09-22
| | | | | | | | prototype for hermite_interpolation" Fix build Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add agate filterPaul B Mahol2015-09-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/mpegvideo_enc: Avoid fine lambda steps in VBV retry code when RD is ↵Michael Niedermayer2015-09-22
| | | | | | | | | not in use Reduces the number of times the vbv retry code is used and should have no effect on quality Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hls: only seek if there is an offsetAndreas Cadhalpun2015-09-22
| | | | | | | | | | | If there is no #EXT-X-BYTERANGE specified, there is no need to seek. Seeking fails anyway for rtmp, because this protocol does not support url_seek. This fixes CNN.m3u from trac ticket 4797 (i.e. Debian bug #798189). Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/dvdsubdec: don't use a NULL log contextwm42015-09-22
|
* avcodec/dvdsubdec: reject some broken packetswm42015-09-22
| | | | | | | | | | | | | If cmd_pos is broken, this would just keep accumulating packets in the reassembly buffer, until it fails and flushes the buffer on overflow. Since packets are usually rather small, this will take a lot of subtitle packets. The perceived effect is that subtitles are not displayed anymore after the faulty packet was passed to the decoder. I'm not terribly sure about this, but on the other hand this code is active only when fragmented packets need to be reassembled. Fixes sample file in trac issue #4872.
* avcodec/dvdsub: fix partial packet assemblywm42015-09-22
| | | | | | | | | | Assuming the first and second packets are partial, this would append the reassembly buffer (ctx->buf) to itself with the second append_to_cached_buf() call, because buf is set to ctx->buf. I do not know a valid sample file which triggers this, and do not know if packets can be split into more than 2 sub-packets, but it triggered with a (differently) broken sample file in trac issue #4872.
* avformat/hls: fix some cases of HLS streams which require cookieswm42015-09-22
| | | | | | | | Broken by commit ba12ba859aabfa7153ba397d869db13acdaba340. This only happens with HLS streams which use encryption and require preserving cookies sent by the server. Fixes trac issue #4846.
* avfilter: add tremolo filterKyle Swanson2015-09-22
| | | | Signed-off-by: Kyle Swanson <k@ylo.ph>
* Update my email addressJean Delvare2015-09-22
| | | | | | My old address no longer works. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hevc: fix wpp threading deadlock.Ronald S. Bultje2015-09-21
| | | | Fixes ticket 4258.
* vp9: fix loopfilter test code to address Hendrik's comments.Ronald S. Bultje2015-09-21
| | | | (I forgot to actually merge them into the patch I just pushed.)
* x86/vp9dsp: fix local header includeJames Almer2015-09-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vp9dsp: add missing header includeJames Almer2015-09-21
| | | | | | Fixes make checkheaders Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dvdsubdec: fix indentationwm42015-09-21
|
* avformat/assdec: do not drop duplicate subtitleswm42015-09-21
| | | | | Duplicates are perfectly legitimate with this format. A correct renderer will typically show them stacked.
* avformat/vobsub: do not attempt to check duplicate subtitleswm42015-09-21
| | | | | | | | | | | | | | | | Some .idx files actually contain duplicate subtitle events: timestamp: 00:07:52:600, filepos: 00004e800 timestamp: 00:07:52:600, filepos: 00004f800 The second will be dropped, because it has same pts, duration, and text (the text is just a dummy empty string; the real data is retrieved when actually reading vobsub subtitle packets). Dropping this is probably not intended/safe, so avoid it. See trac issue #4872 for a sample. This patch doesn't fix decoding of the sample, though.
* avformat/subtitles: make dropping duplicate events optionalwm42015-09-21
|
* avformat/vobsub: compare correct packet stream IDswm42015-09-21
| | | | | | | | | | | | The stream ID is essentially an arbitrary number defined by the .idx file headers. They have to match the IDs in the .sub stream. The vobsub demuxer assumed the IDs would just start from 0, increassing by 1 for each stream. This is not correct. In the sample I had, the IDs were starting from 1, leading to no subtitles being displayed at all. Fix this by using the correct stream ID. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: silence error if tput not foundGanesh Ajjanagadde2015-09-21
| | | | | | | If tput is not found for colorizing, error message should be squashed. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc: mention libavcodec can decode Opus nativelyJames Almer2015-09-20
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* mpjpeg: CRLF terminating a sequence of MIME headers should not cause an errorAlex Agranovsky2015-09-21
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/snowenc: Do not write into const AVFrameMichael Niedermayer2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/snowenc: Remove unused new_picture fieldMichael Niedermayer2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: fix ticket 4850Pedro Arthur2015-09-20
|
* avdevice/libdc1394: add const to suppress "assignment discards const ↵Michael Niedermayer2015-09-20
| | | | | | | | | qualifier from pointer target type" warnings See: http://fate.ffmpeg.org/log.cgi?time=20150919100330&log=compile&slot=x86_64-archlinux-gcc-enableshared Found-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_mp4toannexb_bsf: silence -Wdiscarded-qualifiersGanesh Ajjanagadde2015-09-20
| | | | | | | | | *poutbuf is non-const, so this casts it explicitly. This suppresses -Wdiscarded-qualifiers seen in e.g http://fate.ffmpeg.org/log.cgi?time=20150919100330&log=compile&slot=x86_64-archlinux-gcc-enableshared. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/checkasm: fix stack smash in check_loopfilterRodger Combs2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/matroska: ignore ChapCountry ID for nowRodger Combs2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add rubberband wrapperPaul B Mahol2015-09-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-20
| | | | It has no longer any effect.
* lavfi: drop the requirement that request_frame returns a frame.Nicolas George2015-09-20
| | | | | | | | It requires a loop in filters or the framework, that makes the scheduling less efficient and more complex. This is purely an internal change since the loop is now present in buffersink. Note that no filter except buffersink did rely on the requirement.
* lavfi/vf_idet: reindent after last commit.Nicolas George2015-09-20
|
* lavfi/vf_idet: remove the loop in request_frame().Nicolas George2015-09-20
| | | | It is not necessary due to the use of FF_LINK_FLAG_REQUEST_LOOP.
* lavfi/buffersink: loop over ff_request_frame().Nicolas George2015-09-20
| | | | | | | | Do not assume that ff_request_frame() returning success implies a frame has arrived in the FIFO. Instead, just loop until a frame is in the FIFO. It does not change anything since the same loop is present in ff_request_frame(), confirmed by an assertion.
* x86/vp9mc: fix string concatenation of fullpel function namesJames Almer2015-09-20
| | | | | | | Fixes compilation with NASM Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/internal: Use do {} while() for ff_tlog()Michael Niedermayer2015-09-20
| | | | | | | Avoids problems when used without braces Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/checkasm/vp9dsp: Add () to protect macro argumentsMichael Niedermayer2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm: add VP9 loopfilter tests.Ronald S. Bultje2015-09-20
| | | | | | | The randomize_buffer() implementation assures that "most of the time", we'll do a good mix of wide16/wide8/hev/regular/no filters for complete code coverage. However, this is not mathematically assured because that would make the code either much more complex, or much less random.
* checkasm: add jpeg2000dsp rct_int testsJames Almer2015-09-20
| | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmxGanesh Ajjanagadde2015-09-20
| | | | | | | | | This silences some of the -Wunused-function warnings when compiled with --disable-mmx, e.g http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx. Header guards are too brittle and ugly for this case. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/format: silence -Wdiscarded-qualifiersGanesh Ajjanagadde2015-09-20
| | | | | | | | | lpd.buf is non-const and discards the const qualifier of zerobuffer. This fixes -Wdiscarded-qualifiers observed with a variety of compilers, including GCC 5.2. Note that this does not change the type of zerobuffer, and merely makes the intent explicit. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/output: fix undefined left shifts of negative numbersGanesh Ajjanagadde2015-09-20
| | | | | | | | This fixes -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mlpdec: fix a undefined left shift of negative numberGanesh Ajjanagadde2015-09-20
| | | | | | | | This fixes a -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hevc: properly handle no_rasl_output_flag when removing pictures from the DPBHendrik Leppkes2015-09-20
| | | | | | | Fixes ticket #4185. Reviewed-By: Mickael Raulet <Mickael.Raulet@insa-rennes.fr> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
* avcodec/motion_est_template: fix undefined left shift of negative numberGanesh Ajjanagadde2015-09-19
| | | | | | | | This fixes -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avresample/resample: remove unused variableGanesh Ajjanagadde2015-09-19
| | | | | | | | This fixes a -Wunused-variable, see e.g http://fate.ffmpeg.org/log.cgi?time=20150919162338&log=compile&slot=x86_64-archlinux-gcc-threads. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>