summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge commit 'a507af97eef468238d545ff954a39d7432832e54'James Almer2018-09-02
|\ | | | | | | | | | | | | * commit 'a507af97eef468238d545ff954a39d7432832e54': avformat/libsrt: add latency options and deprecate tspbdelay Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add latency options and deprecate tspbdelaySven Dueking2018-06-04
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c': avformat/libsrt: add payload size option Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add payload size optionSven Dueking2018-06-03
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '35ed7f93dbc72d733e454ae464b1324f38af62a0'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '35ed7f93dbc72d733e454ae464b1324f38af62a0': qsvenc: Add an option to disable MFE mode Merged-by: James Almer <jamrial@gmail.com>
| * qsvenc: Add an option to disable MFE modeZhong Li2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Provide proper aliases to enable/disable MFE. The numeric values are ambiguous and misleading (e.g: user may misunderstand setting mfmode to 1 is to enable MFE but actually it is to disable MFE, and set it to be 5 or above is meaningless). MFX_MF_MANUAL hasn't been exposed since it is to be implemented. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5': tls_mbedtls: Use non-deprecated header file Merged-by: James Almer <jamrial@gmail.com>
| * tls_mbedtls: Use non-deprecated header fileDiego Biurrun2018-04-26
| | | | | | | | /usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp]
* | avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()Michael Niedermayer2018-09-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/h264_refs: Detect more random access points which are not markedMichael Niedermayer2018-09-03
| | | | | | | | | | | | | | Fixes: nature_360-7501616eb5eafca5-1111.mp4 Reported-by: Thierry Foucu <tfoucu@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | iavcodec/zmbv: Avoid reallocating cur/prev buffers if they are large enoughMichael Niedermayer2018-09-03
| | | | | | | | | | | | | | | | Fixes: Timeout Fixes: 9721/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-5650321660444672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/zmbv: remove useless zero check on dimensionsMichael Niedermayer2018-09-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ffv1dec_template: do not ignore the return code of decode_line()Michael Niedermayer2018-09-03
| | | | | | | | | | | | | | | | Fixes: Timeout Fixes: 9710/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-4918894635515904 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/wmv2dec: skip frames that have only skiped MBsMichael Niedermayer2018-09-03
| | | | | | | | | | | | | | | | | | | | | | This requires us to pre-parse the skip data, as we want to detect this before allocating all the arrays Fixes: Timeout Fixes: 9708/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5729709861109760 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ra144: Fix undefined integer overflow in add_wav()Michael Niedermayer2018-09-03
| | | | | | | | | | | | | | | | Fixes: signed integer overflow: -26884 * 91439 cannot be represented in type 'int' Fixes: 9687/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RA_144_fuzzer-4995588121690112 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/indeo4: Check dimensions in decode_pic_hdr()Michael Niedermayer2018-09-03
| | | | | | | | | | | | | | | | Fixes: Timeout Fixes: 9654/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-6289863463665664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'ad5bbc408637cffd4cc2ba990abef529cf5fa6a3'James Almer2018-09-02
|\| | | | | | | | | | | | | | | | | * commit 'ad5bbc408637cffd4cc2ba990abef529cf5fa6a3': configure: Rename require_header() --> require_headers() This commit is a noop, see ce47f1589e9f5a6cf8372a269bdd862ff0cc3f91 Merged-by: James Almer <jamrial@gmail.com>
| * configure: Rename require_header() --> require_headers()Diego Biurrun2018-04-25
| | | | | | | | This renaming was overlooked in the previous check_header() rename.
* | Merge commit '4130e05ff496667565ff7c386a514bd46434eddf'James Almer2018-09-02
|\| | | | | | | | | | | | | | | | | * commit '4130e05ff496667565ff7c386a514bd46434eddf': libavformat: add mbedTLS based TLS This commit is a noop, see c24d247e2c2ccd13fda09fe4194bf2ff0eb42256 Merged-by: James Almer <jamrial@gmail.com>
| * libavformat: add mbedTLS based TLSThomas Volkert2018-04-25
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '39f3b6f3fc2b46b405b680cce3599f1b370e342d'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '39f3b6f3fc2b46b405b680cce3599f1b370e342d': configure: Move add_fooflags() helper functions into canonical order Merged-by: James Almer <jamrial@gmail.com>
| * configure: Move add_fooflags() helper functions into canonical orderDiego Biurrun2018-04-20
| |
* | Merge commit '5691c746cf62e69806aae1baf0a6e8252d519444'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '5691c746cf62e69806aae1baf0a6e8252d519444': configure: Group toolchain parameter mangling functions together Merged-by: James Almer <jamrial@gmail.com>
| * configure: Group toolchain parameter mangling functions togetherDiego Biurrun2018-04-20
| |
* | Merge commit '5cb62f9d952e24fff62737a57e89cf43d9c2333a'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '5cb62f9d952e24fff62737a57e89cf43d9c2333a': configure: Rename check_header() --> check_headers() Merged-by: James Almer <jamrial@gmail.com>
| * configure: Rename check_header() --> check_headers()Diego Biurrun2018-04-20
| | | | | | | | | | The plural in the name clarifies the fact that the function can check for multiple headers at once.
* | Merge commit '25c2a27c9ec0150210d75ee5ac8ed1bfa14c1a56'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '25c2a27c9ec0150210d75ee5ac8ed1bfa14c1a56': configure: Make require_cc() and require_cpp_condition() functions consistent Merged-by: James Almer <jamrial@gmail.com>
| * configure: Make require_cc() and require_cpp_condition() functions consistentDiego Biurrun2018-04-20
| | | | | | | | | | Their API and implementation is different from other require_foo() functions, which violates the rule of least astonishment.
* | Merge commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a': build: Group external library protocols separately Merged-by: James Almer <jamrial@gmail.com>
| * build: Group external library protocols separatelyDiego Biurrun2018-04-20
| |
* | Merge commit '78149d6657302b58d5e46e8bc0a521ed009f86f7'James Almer2018-09-02
|\| | | | | | | | | | | | | | | | | * commit '78149d6657302b58d5e46e8bc0a521ed009f86f7': amfenc: Retain a reference to D3D frames used as input during the encoding process This commit is a noop, see 05f1a3face140373ae658ab1abd6bacc841a770d Merged-by: James Almer <jamrial@gmail.com>
| * amfenc: Retain a reference to D3D frames used as input during the encoding ↵Alexander Kravchenko2018-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | process This fixes frame corruption issue when decoder started reusing frames while they are still in use of encoding process Issue with frame corruption was reproduced using: avconv.exe -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i input.h264 -an -c:v h264_amf output.mkv It is recommended to use -extra_hw_frames 16 option in case if hw frames number in pool is not enough Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'abf806f7f1601c7e54de7f863bbb816af144a88c'James Almer2018-09-02
|\| | | | | | | | | | | | | | | | | * commit 'abf806f7f1601c7e54de7f863bbb816af144a88c': random_seed: use bcrypt instead of the old wincrypt API This commit is a noop, see aedbf1640ced8fc09dc980ead2a387a59d8f7f68 Merged-by: James Almer <jamrial@gmail.com>
| * random_seed: use bcrypt instead of the old wincrypt APISteve Lhomme2018-04-19
| | | | | | | | | | | | | | Remove the wincrypt API calls since we don't support XP anymore and bcrypt is available since Vista, even on Windows Store builds. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '347aa8f72356124ec6b95bf8ebd1faf72db03f8d'James Almer2018-09-02
|\| | | | | | | | | | | | | | | | | * commit '347aa8f72356124ec6b95bf8ebd1faf72db03f8d': x86: Don't declare a non-static function as inline This commit is a noop Merged-by: James Almer <jamrial@gmail.com>
| * x86: Don't declare a non-static function as inlineMartin Storsjö2018-04-15
| | | | | | | | | | This fixes building with clang in msvc mode, which does support gcc style inline assembly.
* | lavf/libsmbclient: return AVERROR_EOF for EOF.Nicolas George2018-09-02
| | | | | | | | Fix trac ticket #7387.
* | avcodec/mips: [loongson] optimize memset in h264dsp.Shiyou Yin2018-09-02
| | | | | | | | | | | | | | | | | | | | | | Optimized memset with mmi in following functions: 1. ff_h264_add_pixels4_8_mmi. 2. ff_h264_idct_add_8_mmi. 3. ff_h264_idct8_add_8_mmi. This optimization improved h264 decoding performance about 1.3%(tested on loongson 3A3000). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips: [loongson] reoptimize h264_chroma_mc8_mmi v2.Shiyou Yin2018-09-02
| | | | | | | | | | | | | | Reoptimize function ff_put_h264_chroma_mc8_mmi and ff_avg_h264_chroma_mc8_mmi. Performance of h264 decoding improved about 5%(from 69fps to 73fps, tested on loongson 3A3000). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips: [loongson] reoptimize simple idct with mmi.Shiyou Yin2018-09-02
| | | | | | | | | | | | | | | | | | | | Performance of mpeg4 decoding improved about 23%(from 128fps to 158fps, tested on loongson 3A3000). Reoptimized following functions with mmi. 1. ff_simple_idct_put_8_mmi 2. ff_simple_idct_add_8_mmi 3. ff_simple_idct_8_mmi Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/libsrt: add pkt_size parameter to libsrtMarton Balint2018-09-01
| | | | | | | | | | | | | | | | Also make sure we set the URL context max packet size accordingly. Based on a patch by Tudor Suciu <tudor.suciu@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | ffplay: do not drain existing filters when seekingMarton Balint2018-09-01
| | | | | | | | | | | | | | After a seek we drop all frames from the filter anyway. Audio filters already had a similar approach. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/mov: Error on too large stsd entry counts.Dale Curtis2018-09-01
| | | | | | | | | | | | | | | | | | | | | | | | Entries are always at least 8 bytes per the parsing code, so if we see an impossible entry count avoid massive allocations. This is similar to an existing check in mov_read_stsc(). Since ff_mov_read_stsd_entries() does eof checks, an alternative approach could be to clamp the entry count to atom.size / 8. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADERMichael Bunk2018-09-01
| | | | | | | | | | | | AV_CODEC_FLAG_GLOBAL_HEADER should be set before calling avcodec_open2() to have any effect. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/scpr: refactor repeated code into decode_units()Paul B Mahol2018-09-01
| |
* | avcodec/dnxhdenc: stop leaking memory when initalization failsPaul B Mahol2018-08-31
| | | | | | | | Fixes #6593.
* | fate: add 10-bit test for hue video filterTobias Rapp2018-08-31
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | lavc/pthread: use THREAD_SAFE_CALLBACKS() to simplifx more codeJun Zhao2018-08-31
| | | | | | | | | | | | use THREAD_SAFE_CALLBACKS() to simplifx more code Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | configure: <fflib>_deps: validate, reduce sensitivityAvi Halachmi (:avih)2018-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow to add deps in any order rather than "in linking order". - Expand deps chains as required rather than just once. - Validate that there are no cycles. - Validate that [after expansion] deps are limited to other fflibs. - Remove expectation for a specific output order of unique(). Previously when adding items to <fflib>_deps, developers were required to add them in linking order. This can be awkward and bug-prone, especially when a list is not empty, e.g. when adding conditional deps. It also implicitly expected unique() to keep the last instance of recurring items such that these lists maintain their linking order after removing duplicate items. This patch mainly allows to add deps in any order by keeping just one master list in linking order, and then reordering all the <fflib>_deps lists to align with the master list order. This master list is LIBRARY_LIST itself, where otherwise its order doesn't matter. The patch also removes a limit where these deps lists were expanded only once. This could have resulted in incomplete expanded lists, or forcing devs to add already-deducable deps to avoid this issue. Note: it is possible to deduce the master list order automatically from the deps lists, but in this case it's probably not worth the added complexity, even if minor. Maintaining one list should be OK. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/ref/fate/pixelutils: Add a newline.Carl Eugen Hoyos2018-08-31
| | | | | | | | Fixes fate-pixelutils on aix.