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
2019-06-28avcodec/cfhd: add back alpha processing removed in 9cefb9e7ecPaul B Mahol
Fixes #7886.
2018-08-20avcodec/cfhd: Use the actual count instead of the expected in peak_table()Michael Niedermayer
Fixes: out of array access (no testcase) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-20avcodec/cfhd: Move peak_table() and difference_coding() calls after the ↵Michael Niedermayer
existing coefficient count check Fixes: out of array access Fixes: 9509/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5283250636324864 Fixes: 9572/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4920757409808384 Fixes: 9596/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5114917580439552 Fixes: 9640/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-6247840698335232 Fixes: 9659/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-6079554987753472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-07-18avcodec/cfhd: Use bytestream2 for peaksMichael Niedermayer
This fixes out of array accesses No testcase known Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-07-15libavcodec/cfhd: Fix signed overflow in shiftMichael Niedermayer
Fixes: 8695/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4906172426485760 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-27lavc/cfhd: interlaced frame decoding addedGagandeep Singh
ticket #5522 output of given samples significantly improved
2018-05-08lavc/cfhd: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFTClément Bœsch
2018-04-03lavc/cfhd: fix distortion of lowest 8 lines when height is not multiple of 16Gagandeep Singh
Also update fate reference. Fixes ticket #6675.
2018-03-22lavc/cfhd: add alpha decompanding in rgba12Gagandeep Singh
Alpha decompanding curve added to post process the decoded alpha channel. Fixes ticket #6265.
2017-10-18avcodec/cfhd: support cropped height tagJames Almer
Ported from libav. Authored by one of the following: Anton Khirnov <anton@khirnov.net> Diego Biurrun <diego@biurrun.de> Vittorio Giovara <vittorio.giovara@gmail.com> Reviewed-by: kierank Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-18Merge commit '5f794aa1653aa04c1da7397e9ccacad947fadf5f'James Almer
* commit '5f794aa1653aa04c1da7397e9ccacad947fadf5f': Add Cineform HD Decoder See 3485332bf99602910fe8830b0230d02fc653135d. Some cosmetics are merged. The refactoring is not merged at the request of Kieran Kunhya. Merged-by: James Almer <jamrial@gmail.com>
2017-07-23avcodec/cfhd: Fix decoding regression due to height checkVodyannikov Aleksandr
Fixes: Ticket6546 Regression since: 54aaadf648073149f1ac34f56cbde4e6c5aa22ef Reviewed-by: Muhammad Faiz <mfcc64@gmail.com> Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-29avcodec/cfhd: Fix invalid left shift of negative valueMichael Niedermayer
Fixes: runtime error: left shift of negative value -1 Fixes: 2395/clusterfuzz-testcase-minimized-6540529313513472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-22avcodec/cfhd: Check bpc before setting bpc in contextMichael Niedermayer
Fixes: runtime error: shift exponent 32 is too large for 32-bit type 'int' Fixes: 2306/clusterfuzz-testcase-minimized-5002997392211968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-22avcodec/cfhd: Fix undefined shiftMichael Niedermayer
Fixes: runtime error: left shift of negative value -1 Fixes: 2303/clusterfuzz-testcase-minimized-5529675273076736 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-10avcodec/cfhd: Check band parameters before storing themMichael Niedermayer
Fixes out of array read Fixes: 2169/clusterfuzz-testcase-minimized-5688641642823680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-01avcodec/cfhd: Fix runtime error: signed integer overflow: 65280 * 65288 ↵Michael Niedermayer
cannot be represented in type 'int' Fixes: 1925/clusterfuzz-testcase-minimized-5564569688735744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-09Add Cineform HD DecoderKieran Kunhya
Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Further fixes and refactorings by Anton Khirnov <anton@khirnov.net>, Diego Biurrun <diego@biurrun.de>, Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-08-19avcodec/cfhd: Increase minimum band dimension to 3Michael Niedermayer
The implementation does not currently support len=2 Fixes out of array accesses Fixes: 29d1b3db5ba2205e82b0b3a533e057a3/asan_heap-oob_12b650c_9254_3b8c4e4d931eb2c32841c18ebb297f1d.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-17cosmetics: fix some misspelled wordsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-10avcodec/cfhd: Set dimensions unconditionallyMichael Niedermayer
Fixes Ticket5215 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-05avcodec/cfhd: clear idwt_buf on allocationMichael Niedermayer
This avoids use of uninitialized variables and might make bugs in general easier to reproduce Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-23libavcodec/cfhd: fixed wrong printf formatdsmudhar
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-28avcodec/cfhd: Don't decode coefficients if no end of header tag found. Fixes ↵Kieran Kunhya
fuzzed files such as the one in in ticket #5383
2016-03-29cfhd: Do not initialize context sizeVittorio Giovara
Otherwise probing and stream analisys will report a correct coded size but an empty visible size. Approved by: kieran Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-06lavc/cfhd: Remove one more \n from avpriv_report_missing_feature().Carl Eugen Hoyos
2016-03-06lavc/cfhd: Sanitize avpriv_report_missing_feature() usage.Carl Eugen Hoyos
2016-03-06avcodec/cfhd: Fixes cfhd_odd.mov which has a resolution of 496x241Kieran Kunhya
In this case container width/height is better however. Thanks to koda for the sample
2016-02-27avcodec/cfhd: Add support for 12-bit RGBA.Kieran Kunhya
Plays all known samples
2016-02-27cfhd: reallocate internal buffers on format change.Kieran Kunhya
Fixes some, but not all, of the threading fuzz crashes
2016-02-12avcodec/cfhd: Fix errors with valid files.Kieran Kunhya
2016-02-12avcodec/cfhd: Check the number of tag/value pairsMichael Niedermayer
Fixes potentially long loop Fixes: CID1351382/11 Reviewed-by: Kieran Kunhya <kieran@kunhya.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-03cfhd: fix off-by-one error in level checkAndreas Cadhalpun
This fixes out-of-bounds writes causing segmentation faults. Found-by: Piotr Bandurski <ami_stuff@o2.pl> Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-02-01avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.Kieran Kunhya
Fixes tickets #5208 and #5209
2016-01-30avcodec: Cineform HD DecoderKieran Kunhya
Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Alpha requires addition of GBRAP12 pixel format.