summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* swresample/resample_template: Add filter values in parallelMichael Niedermayer2016-12-10
| | | | | | | | | This is faster 2871 -> 2189 cycles for int16 matrixbench -> 23456hz Fixes a integer overflow in a artificial corner case Fixes part of 668007-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swresample/resample_template: Reorder operations to avoid one additionMichael Niedermayer2016-12-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swresample/swresample: Check count before memcpy()Michael Niedermayer2016-12-10
| | | | | | | | Fixes undefined operation Fixes part of 668007-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Fix undefined shifts in mpeg4_decode_sprite_trajectory()Michael Niedermayer2016-12-09
| | | | | | | Fixes: part of 670190.ogg Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/oggdec: Skip streams in duration correction that did not had their ↵Michael Niedermayer2016-12-09
| | | | | | | | | | duration set. Fixes: part of 670190.ogg Fixes integer overflow Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h264_slice: Wait for refs to be available before we use them in error ↵Derek Buitenhuis2016-12-09
| | | | | | | | | | | | concealment This could happen when there was a frame number gap and frame threading was used. This fixes #5458. Debugging-by: Ronald S. Bultje <rsbultje@gmail.com> Debugging-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: add a monoscopic spherical matroska testJames Almer2016-12-09
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: improve fate-mov dependenciesJames Almer2016-12-09
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/ffv1enc: Allocate smaller packet if the worst case size cannot be ↵Michael Niedermayer2016-12-09
| | | | | | | | | | | allocated We are checking during encoding if there is enough space as version 4 needs that check. Fixes Ticket6005 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1enc: Fix size of first sliceMichael Niedermayer2016-12-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aacdec: Rename elem_type_prev to che_prev_type.Alex Converse2016-12-08
| | | | | It describes the type of the previous che element (SCE, CPE, CCE, or LFE) and does not reflect non-che elements.
* aacdec: Allow SBR after DRC.Alex Converse2016-12-08
| | | | | | Fixes https://www2.iis.fraunhofer.de/AAC/7.1auditionOutLeader_v2_rtb.mp4 Reported-by: rcombs on IRC
* doc/muxers: remove "-strict experimental" from tee muxer examplesLou Logan2016-12-08
| | | | | | | Examples use the native FFmpeg AAC encoder but it is no longer considered experimental and therefore not required. Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/vf_deband: fix silly mistakesPaul B Mahol2016-12-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: Add max_streams optionMichael Niedermayer2016-12-08
| | | | | | This allows user apps to stop OOM due to excessive number of streams Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aarch64: h264idct: Use the offset parameter to movrelMartin Storsjö2016-12-08
| | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 6a62795d4051f435a9a2c59395d96913693922f8) Cherry pick Suggested-by: Martin Storsjö This should fix the build failure on macosx Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_hwupload_cuda: Add min/max limits for the 'device' optionSrinath K R2016-12-08
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avformat/matroskadec: remove unused variableJames Almer2016-12-08
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskadec: fix memleak on stream side data failureJames Almer2016-12-08
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/golomb: Consume invalid data in get_ur_golomb_jpegls()Michael Niedermayer2016-12-08
| | | | | | | | Fixes slow loops on fuzzed data Fixes: 245/fuzz-3-ffmpeg_AUDIO_AV_CODEC_ID_FLAC_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskadec: add support for Spherical Video elementsJames Almer2016-12-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* yuv4mpegdec: fix leaking pkt in yuv4_read_packetAndreas Cadhalpun2016-12-08
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/h264: resolve assert being triggered when stack is not alignedJames Darnley2016-12-07
| | | | 32-bit msvc.
* fate: Add a monoscopic spherical mov testVittorio Giovara2016-12-07
|
* mov: Export spherical informationVittorio Giovara2016-12-07
| | | | | | | This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara2016-12-07
| | | | | | | | While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec/wavpack: Treat the first block coding too many channels as an errorMichael Niedermayer2016-12-07
| | | | | | | | Fixes memleak Fixes: 236/8aeebc9ca49b91bf71c114dcefac56c154a3a563 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hlsenc: save the EXT-X-DISCONTINUITY from old listSteven Liu2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when use fix ticket 2nd problem. command line test step: rm -rf output*;./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v copy -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 50 output.m3u8 ./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5 output.m3u8 ./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5 output.m3u8 result: #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:5 #EXT-X-MEDIA-SEQUENCE:6 #EXTINF:4.120000, output6.ts #EXT-X-DISCONTINUITY #EXTINF:4.000000, output7.ts #EXTINF:0.960000, output8.ts #EXT-X-DISCONTINUITY #EXTINF:4.000000, output9.ts #EXTINF:0.960000, output10.ts Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/h264: mmx2, sse2, avx 10-bit 4:2:2 h chroma deblock/loop filterJames Darnley2016-12-07
| | | | | | | | | | | | | | | Yorkfield: - mmx2: 2.53x (504 vs. 199 cycles) - sse2: 3.83x (504 vs. 131 cycles) Nehalem: - mmx2: 2.42x (365 vs. 151 cycles) - sse2: 3.56x (365 vs. 103 cycles) Skylake: - mmx2: 1.81x (308 vs. 170 cycles) - sse2: 2.84x (308 vs. 108 cycles) - avx: 2.93x (308 vs. 105 cycles)
* avcodec/h264: mmx2, sse2, avx 10-bit h chroma deblock/loop filterJames Darnley2016-12-07
| | | | | | | | | | | | | | | Yorkfield: - mmx2: 2.45x (279 vs. 114 cycles) - sse2: 3.36x (279 vs. 83 cycles) Nehalem: - mmx2: 2.10x (192 vs. 92 cycles) - sse2: 2.84x (192 vs. 68 cycles) Skylake: - mmx2: 1.75x (170 vs. 97 cycles) - sse2: 2.47x (170 vs. 69 cycles) - avx: 2.47x (170 vs. 69 cycles)
* whitespace changes after last commitJames Darnley2016-12-07
|
* avcodec/h264: clean up and expand x86 function definitionsJames Darnley2016-12-07
|
* qsvdec: Fix memory leakTimothy Gu2016-12-06
| | | | Fixes CID1396851.
* omx: Fix OOM checkTimothy Gu2016-12-06
| | | | | | Also use av_mallocz_array(). Fixes CID1396839.
* lavf/chromaprint: Update for version 1.4Georgi D. Sotirov2016-12-06
| | | | Fixes ticket #5997.
* Added test for libavcodec/avpacket.cThomas Turner2016-12-06
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: check all compute_crc_of_packets() callsMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Silence compiler warnings about uninitialized variablesMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Fix use of uinitialized valueMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: remove line break on mastering display metadata info dumpJames Almer2016-12-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/vaapi-vp9: add support for profile 2 (bpp > 8)Mathieu Velten2016-12-05
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec/vp9: move bpp to the shared context for use in hwaccelMathieu Velten2016-12-05
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* truemotion1: fix leaking frame on init failureAndreas Cadhalpun2016-12-05
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* http: move chunk handling from http_read_stream() to http_buf_read().Ronald S. Bultje2016-12-05
|
* http: make length/offset-related variables unsigned.Ronald S. Bultje2016-12-05
| | | | Fixes #5992, reported and found by Paul Cher <paulcher@icloud.com>.
* vaapi_encode: Write sequence header as extradataMark Thompson2016-12-05
| | | | | | | Only works if packed headers are supported, where we can know the output before generating the first frame. (cherry picked from commit 0cf86fabfa5820596cca2cfead63c6f8df76c3f2)
* lavf: fix the wrong warning msg and comments about av_find_stream_infoJun Zhao2016-12-05
| | | | | | | | | av_find_stream_info() was deprecated by avformat_find_stream_info(), correct the warning message in the avformat_find_stream_info() and comments in the avformat.h Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver: Check chunk sizeMichael Niedermayer2016-12-05
| | | | | | | | Fixes out of array access Fixes: poc_ffserver.py Found-by: Paul Cher <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Avoid using the term "file" and prefer "url" in some docs and commentsMichael Niedermayer2016-12-05
| | | | | | This should make it less ambigous that these are URLs Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>