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
2020-02-20libavcodec/svq: Remove ff_svq1_packet_checksum()Michael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-08avcodec/svq3: Use ff_set_dimension()Michael Niedermayer
Fixes: OOM Fixes: 15410/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SVQ3_fuzzer-5659464805384192 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-03lavc/svq3: Fix regression decoding some files.Nikolas Bowe
Fixes some SVQ3 encoded files which fail to decode correctly after 6d6faa2a2d. These files exhibit lots of artifacts and logs show "Media key encryption is not implemented". However they decode without artifacts before 6d6faa2a2d. The attatched patch allows these files to successfully decode, but also reject media key files. Tested on the files in #6094 and http://samples.mplayerhq.hu/V-codecs/SVQ3/Vertical400kbit.sorenson3.mov Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-01-22lavc/svq3: Do not write into memory defined as const.Carl Eugen Hoyos
Fixes a warning on ppc: libavcodec/svq3.c:1055:21: warning: passing argument 1 of ‘av_write_bswap32’ discards 'const' qualifier from pointer target type
2017-10-04Merge commit 'b2788fe9347c02b1355574f3d28d60bfe1250ea7'James Almer
* commit 'b2788fe9347c02b1355574f3d28d60bfe1250ea7': svq3: fix the slice size check Merged-by: James Almer <jamrial@gmail.com>
2017-09-22avcodec/svq3: Fix overflow in svq3_add_idct_c()Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2147392585 + 524288 cannot be represented in type 'int' Fixes: 3348/clusterfuzz-testcase-minimized-4809500517203968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-16avcodec/svq3: Fix runtime error: left shift of negative value -6Michael Niedermayer
Fixes: 1604/clusterfuzz-testcase-minimized-5312060206350336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-14avcodec/svq3: Fix runtime error: signed integer overflow: 169 * 12717677 ↵Michael Niedermayer
cannot be represented in type 'int' Fixes: 1556/clusterfuzz-testcase-minimized-5027865978470400 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-10avcodec/svq3: Fix multiple runtime error: signed integer overflow: -237341 * ↵Michael Niedermayer
24552 cannot be represented in type 'int' Fixes: 1429/clusterfuzz-testcase-minimized-5959951610544128 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-07avcodec/svq3: Fix multiple runtime error: signed integer overflow: 44161 * ↵Michael Niedermayer
61694 cannot be represented in type 'int' Fixes: 1382/clusterfuzz-testcase-minimized-6013445293998080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-03avcodec/svq3: Reject dx/dy beyond 16bitMichael Niedermayer
The code does use 16bit sized arrays later so larger deltas would not work Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-03avcodec/svq3: Increase offsets to prevent integer overflowsMichael Niedermayer
Fixes: 1280/clusterfuzz-testcase-minimized-6102353767825408 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-02-27lavc/svq3: Remove an unused function.Carl Eugen Hoyos
2017-02-25svq3: fix the slice size checkAnton Khirnov
Currently it incorrectly compares bits with bytes. Also, move the check right before where it's relevant, so that the correct number of remaining bits is used. CC: libav-stable@libav.org
2017-02-02svq3: Convert to the new bitstream readerAlexandra Hájková
2017-01-31golomb: Convert to the new bitstream readerDiego Biurrun
2017-01-25lavc/svq3: Fail for media key encryption.Carl Eugen Hoyos
Tested-by: ami_stuff Fixes a part of ticket #6094.
2016-12-03lavc: Remove CR/LF from avpriv_request_sample() calls.Carl Eugen Hoyos
2016-11-03svq3: Drop unused function dctcoef_get()Diego Biurrun
libavcodec/svq3.c:627:29: warning: unused function 'dctcoef_get' [-Wunused-function]
2016-09-08avcodec/svq3: Reintroduce slice_typeMichael Niedermayer
Fixes out of array read Fixes: 1642cd3962249d6aaf0eec2836023fb6/signal_sigsegv_2557a72_2995_04efaf2ff57a052f609a3b4a2ea4e622.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-20avcodec/svq3: fix slice size checkMichael Niedermayer
Fixes out of array read Fixes: 09f46aa2175cade93e3e3932646a56a9/asan_heap-oob_4a5385_2995_498f6abfdc0248288cefe5f4b7ad316c.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-04avcodec/vdpau: clean up vdpau_internal.hJames Almer
Also don't include it on files that don't need it. This reduces differences with libav Tested-by: Timothy Gu <timothygu99@gmail.com> Reveiwed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-07-29Merge commit '4e2f6212483ae1b2a4043cddf0a1cb001b476abc'Clément Bœsch
* commit '4e2f6212483ae1b2a4043cddf0a1cb001b476abc': svq3: stop using H264Picture Merged-by: Clément Bœsch <u@pkh.me>
2016-07-29Merge commit '9df889a5f116c1ee78c2f239e0ba599c492431aa'Clément Bœsch
* commit '9df889a5f116c1ee78c2f239e0ba599c492431aa': h264: rename h264.[ch] to h264dec.[ch] Merged-by: Clément Bœsch <u@pkh.me>
2016-06-26Merge commit '4024b566d664a4b161d677554be52f32e7ad4236'Hendrik Leppkes
* commit '4024b566d664a4b161d677554be52f32e7ad4236': golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better names Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-21Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21svq3: stop using H264PictureAnton Khirnov
The SVQ3 decoder has been decoupled from the H.264 decoder, so it can now use its own data type.
2016-06-21h264: rename h264.[ch] to h264dec.[ch]Anton Khirnov
This is more consistent with the naming of other decoders.
2016-05-25golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better namesDiego Biurrun
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-03Merge commit 'a4d126dc59c39bb03e5e444432d1b27af26a45b4'Derek Buitenhuis
* commit 'a4d126dc59c39bb03e5e444432d1b27af26a45b4': svq3: eliminate remaining H264Context usage. Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '7bbdae81e895a49125dba58bad01b98389966c39'Derek Buitenhuis
* commit '7bbdae81e895a49125dba58bad01b98389966c39': svq3: move block_offset to SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '1848a154a49d18c1f31f54ee75c7445dc49a7ecc'Derek Buitenhuis
* commit '1848a154a49d18c1f31f54ee75c7445dc49a7ecc': svq3: stop using H264Context.gb Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit 'ea6ab02a174bcc11f3eaa1b840c9a4c895968690'Derek Buitenhuis
* commit 'ea6ab02a174bcc11f3eaa1b840c9a4c895968690': svq3: move the frame num variables to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '21b746932241246be846a133abb3c5f91b1cab85'Derek Buitenhuis
* commit '21b746932241246be846a133abb3c5f91b1cab85': svq3: eliminate H264Context.cur_pic usage Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '939b388383db8d0db5b2ff483e3a197c27b79791'Derek Buitenhuis
* commit '939b388383db8d0db5b2ff483e3a197c27b79791': svq3: eliminate remaining H264SliceContext usage Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '5a5db90edf71ef4c60db8ad7b0ebaa9a810c2d9e'Derek Buitenhuis
* commit '5a5db90edf71ef4c60db8ad7b0ebaa9a810c2d9e': svq3: move pict_type to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit '12f13ecb2dcddfa3ee930167395370d3c6fff90c'Derek Buitenhuis
* commit '12f13ecb2dcddfa3ee930167395370d3c6fff90c': svq3: move mb strides/sizes to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03Merge commit 'ad9d3384de08f02967d6eb11196ee8c78e8b2dba'Derek Buitenhuis
* commit 'ad9d3384de08f02967d6eb11196ee8c78e8b2dba': svq3: move the dequant buffer to SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '549fc77273636d0d02175362af5dcd60c79f7633'Derek Buitenhuis
* commit '549fc77273636d0d02175362af5dcd60c79f7633': svq3: move mb2br_xy to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '99dde60391cade40ae026b9e385a5280be6b9882'Derek Buitenhuis
* commit '99dde60391cade40ae026b9e385a5280be6b9882': svq3: move {ref,mv}_cache to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '89a13998a1b5074411dff5a461dce3837057b0b8'Derek Buitenhuis
* commit '89a13998a1b5074411dff5a461dce3837057b0b8': svq3: rip out the svq3-relevant parts of pred_motion() out of h264 Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '8eecae77ff6e2923de57dd883421d24fd53ca61f'Derek Buitenhuis
* commit '8eecae77ff6e2923de57dd883421d24fd53ca61f': svq3: move edge_emu_buffer to the SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '527bf5f7c6890664b0f1dccd42397f4d204659fe'Derek Buitenhuis
* commit '527bf5f7c6890664b0f1dccd42397f4d204659fe': svq3: move the pred mode variables to SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit 'ecc31f6b086453ab9811dce2ae5ceb6a7c19e4ad'Derek Buitenhuis
* commit 'ecc31f6b086453ab9811dce2ae5ceb6a7c19e4ad': h264: move ff_h264_check_intra[4x4]_pred_mode() to h264_parse Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '1877712c586df2261f2806f45388c77592b89d1e'Derek Buitenhuis
* commit '1877712c586df2261f2806f45388c77592b89d1e': svq3: move mb_{x,y,xy} to SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit 'c2a4ca944d9029a3c162f8f3ddd317b83a7bd600'Derek Buitenhuis
* commit 'c2a4ca944d9029a3c162f8f3ddd317b83a7bd600': svq3: eliminate write_back_intra_pred_mode() usage Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit 'c73fb9efb22c8d66d24de2716f7f9970f234c3c3'Derek Buitenhuis
* commit 'c73fb9efb22c8d66d24de2716f7f9970f234c3c3': svq3: add all the required dsp contexts into SVQ3Context Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27Merge commit '15b0517da986b312fc2fcb364a92db328380b15b'Derek Buitenhuis
* commit '15b0517da986b312fc2fcb364a92db328380b15b': svq3: make the dsp functions static Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-26avcodec/svq3: fix assert type (was av_assert2 in h264 from where this was ↵Michael Niedermayer
copied) Type was lost in f8d1bb2f2ce9031940019e1cda4d30bc409ee349 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>