Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-22Add coverity model fileMichael Niedermayer
The comments/header of the file are taken from qemu, they provide some basic documentation The code from the examples Ive no means to test this except uploading to coverity for FFmpeg, so each commit should stay simple, making it easy to revert. Also please help making this a useful and effective file by contributing changes/code to it and reviewing contributions. I am happy to upload changes but i cannot really maintain this (alone) as i cannot test changes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-22avformat/rtpdec_dv: fix bundled audio typoThomas Volkert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/adpcm: use av_clip_intp2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/hevc_mvs: Use av_clip_intp2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/adxenc: Use av_clip_intp2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/x86/mlpdsp_init: Simplify mlp_filter_channel_x86()Michael Niedermayer
Based on patch by Francisco Blas Izquierdo Riera Commit message partly taken from carl fixes a compilation error in mlpdsp_init.c with -fstack-check and some gcc compilers (I reproduced the issue with gcc 4.7.3) by simplifying the code. See also https://bugs.gentoo.org/show_bug.cgi?id=471756 $ make libavcodec/x86/mlpdsp_init.o libavcodec/x86/mlpdsp_init.c: In function ‘mlp_filter_channel_x86’: libavcodec/x86/mlpdsp_init.c:142:5: error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ libavcodec/x86/mlpdsp_init.c:142:5: error: ‘asm’ operand has impossible constraints 4551 -> 4509 dezicycles Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/ffv1enc: Use av_clip_uint8()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec: Use av_clip_uintp2() where possibleMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avcodec/snowenc: Use av_clip_uint8()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21tools: added twofish supportSupraja Meedinti
Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avfilter/vf_perspective: Use av_clip_uint8()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avfilter/vsrc_mptestsrc: Use av_clip_uint8()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21swscale: Use av_clip_uintp2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21swscale/yuv2rgb: Use av_clip_uint8()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avformat/flacenc: Use av_clip_uintp2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21libavformat/rtpdec: fix issue with conversion from unsigned to signedGilles Chanteperdrix
When receiving an RTCP packet, the difference between the last RTCP timestamp and the base timestamp may be negative. As these timestamps are of the uint32_t type, the result becomes a large integer. Cast the difference to int32_t to avoid this issue. The result of this issue is very large start times for RTSP streams, and difficulty to restart correctly after a pause. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'cbdd1806ead8758949f22b4e4f214b035c78e2b9'Michael Niedermayer
* commit 'cbdd1806ead8758949f22b4e4f214b035c78e2b9': rtpdec_hevc: Implement parsing of aggregated packets Conflicts: libavformat/rtpdec_hevc.c See: b6f577dbb2afde4111a1820435ab2c5afbf78e12 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'b878ba03e7e088777cc5083766e0b2a293e716ee'Michael Niedermayer
* commit 'b878ba03e7e088777cc5083766e0b2a293e716ee': rtpdec_hevc: Initialize variables to silence false positive compiler warnings Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '10e2d8b5562d8729e4eefbcec63a11eb8a0c502c'Michael Niedermayer
* commit '10e2d8b5562d8729e4eefbcec63a11eb8a0c502c': rtpdec_hevc: Use a shared function for parsing parameter sets Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '0de07510844517b615ef2a2e2916f6391ad88687'Michael Niedermayer
* commit '0de07510844517b615ef2a2e2916f6391ad88687': rtpdec_h264: Make reusable functions non-static Conflicts: libavformat/rtpdec_formats.h libavformat/rtpdec_h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '16163e6bf2d446c06d4dd053c0852074bb50508d'Michael Niedermayer
* commit '16163e6bf2d446c06d4dd053c0852074bb50508d': rtpdec_h264: Fix nal type counting after refactoring Conflicts: libavformat/rtpdec_h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'a3cc519d1f43bf93cc29fd53284a2b8aa6189a9a'Michael Niedermayer
* commit 'a3cc519d1f43bf93cc29fd53284a2b8aa6189a9a': rtpdec_h264: Prepare h264_handle_packet_stap_a for sharing with hevc Conflicts: libavformat/rtpdec_h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '48183b3ad45c95e386a4cb02e1a68b53e6835ac5'Michael Niedermayer
* commit '48183b3ad45c95e386a4cb02e1a68b53e6835ac5': rtpdec_h264: Generalize parse_sprop_parameter_sets Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'a982c5d74fbc7ff5bd2f2f73af61ae48e9b1bcc6'Michael Niedermayer
* commit 'a982c5d74fbc7ff5bd2f2f73af61ae48e9b1bcc6': tests: drop bc dependency Conflicts: tests/fate-run.sh See: d47eeff2741a9ad9eb4398c1d844dd4f638d6ee4 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'a06b0b1295c51d100101e0ca0434e199ad6de6b5'Michael Niedermayer
* commit 'a06b0b1295c51d100101e0ca0434e199ad6de6b5': h264: initialize H264Context.avctx in init_thread_copy Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '0dea4c77ccf5956561bb8991311b3d834bb5fa40'Michael Niedermayer
* commit '0dea4c77ccf5956561bb8991311b3d834bb5fa40': h264: only ref cur_pic in update_thread_context if it is initialized Conflicts: libavcodec/h264_slice.c See: 0fc01ae33c7712168aab0f98c5715b40da0b5f03 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '9abc80f1ed673141326341e26a05c3e1f78576d0'Michael Niedermayer
* commit '9abc80f1ed673141326341e26a05c3e1f78576d0': libavcodec: Make use of av_clip functions Conflicts: libavcodec/takdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc'Michael Niedermayer
* commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc': libavutil: Add ARM av_clip_intp2_arm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'bf07d813f6c88b5a76980f321cf7272d799c4216'Michael Niedermayer
* commit 'bf07d813f6c88b5a76980f321cf7272d799c4216': libavutil: Add av_clip_intp2 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21rtpdec_hevc: Implement parsing of aggregated packetsThomas Volkert
With significant changes by Martin Storsjö, to use the shared function instead of reimplementing it. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_hevc: Initialize variables to silence false positive compiler warningsMartin Storsjö
For some reason, clang didn't warn about this prior to using the shared function. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_hevc: Use a shared function for parsing parameter setsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_h264: Make reusable functions non-staticMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_h264: Fix nal type counting after refactoringMartin Storsjö
This fixes builds with -DDEBUG after f0a874799. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_h264: Prepare h264_handle_packet_stap_a for sharing with hevcMartin Storsjö
Add a parameter for skipping a number of bytes at the start of each nal. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21rtpdec_h264: Generalize parse_sprop_parameter_setsMartin Storsjö
Don't write directly into an AVCodecContext, write into given pointers. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21tests: drop bc dependencyClément Bœsch
We already have a dependency on awk and bc is sometimes not found in the base system. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21h264: initialize H264Context.avctx in init_thread_copyAnton Khirnov
This prevents using a wrong (first thread's) AVCodecContext if decoding a frame in the first pass over all threads fails.
2015-02-21h264: only ref cur_pic in update_thread_context if it is initializedAnton Khirnov
It may be empty if the previous thread's decode call did not contain a valid frame.
2015-02-21Makefile: improve DBG option for asmChristophe Gisquet
This improves the cleanup, dependency generation and DBG command issuing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '3fe26bb60858951710a42065c8183cce100d632a'Michael Niedermayer
* commit '3fe26bb60858951710a42065c8183cce100d632a': hlsenc: write playlist into a temp file and replace the original atomically Conflicts: libavformat/hlsenc.c See: da97e4c64a289ac83c3d53554ff36cdd6586537c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21avformat/hlsenc: Use ff_rename() only for local filesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21hlsenc: write playlist into a temp file and replace the original atomicallyHendrik Leppkes
Reviewed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'ff48ae94f90f6862dbe5b1e7397a1bda3150e200'Michael Niedermayer
* commit 'ff48ae94f90f6862dbe5b1e7397a1bda3150e200': hlsenc: remove the AVIOContext for the playlist from the muxer context Conflicts: libavformat/hlsenc.c See: 28bf05e7b50e0920ff9ea4deded1fd1d7b817616 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21libavcodec: Make use of av_clip functionsPeter Meerwald
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-21libavutil: Add ARM av_clip_intp2_armPeter Meerwald
add ARM code for implementing av_clip_intp2 using the ssat instruction on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and the generic av_clip(), about -19% Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-21libavutil: Add av_clip_intp2Peter Meerwald
there already is a function, av_clip_uintp2() that clips a signed integer to an unsigned power-of-two range, i.e. 0,2^p-1 this patch adds a function av_clip_intp2() that clips a signed integer to a signed power-of-two range, i.e. -(2^p),(2^p-1) the new function can be used as a special case for av_clip(), e.g. av_clip(x, -8192, 8191) can be rewritten as av_clip_intp2(x, 13) there are ARM instructions, usat and ssat resp., which map nicely to these functions (see next patch) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-21swresample: add av_cold to init functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21lavf/ffmenc: do not fail on missing codecLukasz Marek
ffm encoder fails when codec is not found. It may happen when stream is being copied. This commit allows to store such stream and provides backward compatibility with version prior 2.5 release. fixes #4266 Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2015-02-21hlsenc: write playlist into a temp file and replace the original atomicallyHendrik Leppkes
Signed-off-by: Martin Storsjö <martin@martin.st>