summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* avcodec/golomb: Consume invalid data in get_ur_golomb_jpegls()Michael Niedermayer2016-12-081-7/+10
| | | | | | | | 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-072-0/+76
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* yuv4mpegdec: fix leaking pkt in yuv4_read_packetAndreas Cadhalpun2016-12-081-2/+3
| | | | | 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-071-2/+2
| | | | 32-bit msvc.
* fate: Add a monoscopic spherical mov testVittorio Giovara2016-12-072-0/+20
|
* mov: Export spherical informationVittorio Giovara2016-12-074-2/+247
| | | | | | | 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-077-3/+58
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara2016-12-077-3/+192
| | | | | | | | 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-071-1/+1
| | | | | | | | 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-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-072-0/+45
| | | | | | | | | | | | | | | 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-072-0/+127
| | | | | | | | | | | | | | | 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-071-22/+22
|
* avcodec/h264: clean up and expand x86 function definitionsJames Darnley2016-12-071-3/+6
|
* qsvdec: Fix memory leakTimothy Gu2016-12-061-1/+3
| | | | Fixes CID1396851.
* omx: Fix OOM checkTimothy Gu2016-12-061-2/+2
| | | | | | Also use av_mallocz_array(). Fixes CID1396839.
* lavf/chromaprint: Update for version 1.4Georgi D. Sotirov2016-12-061-0/+4
| | | | Fixes ticket #5997.
* Added test for libavcodec/avpacket.cThomas Turner2016-12-063-1/+135
| | | | | 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-061-4/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Silence compiler warnings about uninitialized variablesMichael Niedermayer2016-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Fix use of uinitialized valueMichael Niedermayer2016-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: remove line break on mastering display metadata info dumpJames Almer2016-12-051-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/vaapi-vp9: add support for profile 2 (bpp > 8)Mathieu Velten2016-12-052-1/+10
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec/vp9: move bpp to the shared context for use in hwaccelMathieu Velten2016-12-052-14/+15
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* truemotion1: fix leaking frame on init failureAndreas Cadhalpun2016-12-051-1/+3
| | | | | 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-051-26/+31
|
* http: make length/offset-related variables unsigned.Ronald S. Bultje2016-12-051-32/+38
| | | | Fixes #5992, reported and found by Paul Cher <paulcher@icloud.com>.
* vaapi_encode: Write sequence header as extradataMark Thompson2016-12-052-0/+24
| | | | | | | 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-052-5/+5
| | | | | | | | | 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-051-1/+4
| | | | | | | | 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-054-19/+19
| | | | | | This should make it less ambigous that these are URLs Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtmppkt: Check for packet size mismatchesMichael Niedermayer2016-12-051-0/+8
| | | | | | | | Fixes out of array access Found-by: Paul Cher <paulcher@icloud.com> Reviewed-by: Paul Cher <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* zmqsend: Initialize ret to 0Timothy Gu2016-12-051-1/+1
| | | | Fixes CID1396857.
* configure: check for strtoull on msvcJames Almer2016-12-051-0/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/hlsenc: fix ticket id 5988 for DISCONTINUITYSteven Liu2016-12-051-0/+14
| | | | | | add EXT-X-DISCONTINUITY tag at the position of the append point. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/flacdec: Fix undefined shift in decode_subframe()Michael Niedermayer2016-12-041-1/+1
| | | | | | | | Fixes undefined behavior Fixes: 639961-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/get_bits: Fix get_sbits_long(0)Michael Niedermayer2016-12-031-0/+4
| | | | | | | | Fixes undefined behavior Fixes: 640889-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/flac: forward errors from ff_flac_parse_streaminfo()Michael Niedermayer2016-12-033-4/+14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/flac: Check bps in ff_flac_parse_streaminfo()Michael Niedermayer2016-12-031-0/+5
|
* avformat/ffmdec: Silence "may be used uninitialized in this function" warningsMichael Niedermayer2016-12-031-2/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmdec: cleanup on extradata memory allocation failureMichael Niedermayer2016-12-031-4/+8
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmdec: Forward error code from ffm_read_header()Michael Niedermayer2016-12-031-5/+18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swresample/resample: do not rebuild filter when sample_delta is zeroMuhammad Faiz2016-12-041-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avcodec/flacdec: Fix signed integer overflow in decode_subframe_fixed()Michael Niedermayer2016-12-031-1/+2
| | | | | | | | Fixes undefined behavior Fixes: 640912-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/flacdsp_template: Fix undefined shift in flac_decorrelate_indep_cMichael Niedermayer2016-12-031-1/+1
| | | | | | | | Fixes: left shift of negative value Fixes: 668346-media Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmdec: remove last use of st->codecMichael Niedermayer2016-12-031-11/+21
| | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/asfdec_f: Remove CR/LF from avpriv_request_sample() call.Carl Eugen Hoyos2016-12-031-1/+1
|
* lavc: Remove CR/LF from avpriv_request_sample() calls.Carl Eugen Hoyos2016-12-034-5/+5
|
* ffserver: remove one avcodec_context_copy()Michael Niedermayer2016-12-031-1/+2
| | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmdec: Drop flags2, debug and codec->time_base settingMichael Niedermayer2016-12-031-19/+8
| | | | | | It should still be possible to set these through recommended_encoder_configuration Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud