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
2016-11-18libavcodec/exr : fix channel size calculation for uint32 channelMartin Vignali
uint32 need 4 bytes not 1. Fix decoding when there is half/float and uint32 channel. This fixes crashes due to pointer corruption caused by invalid writes. The problem was introduced in commit 03152e74dfdc7f438cb4a10402c4de744e807e22. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 52da3f6f70b1e95589a152aaf224811756fb9665) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-18exr: fix out-of-bounds readAndreas Cadhalpun
channel_index can be -1. This problem was introduced in commit 2dd7b46132e2801ef34fe1b5c27e0113cdcfa2f9. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit ffdc5d09e498bee8176c9e35df101c01c546a738) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-08-25avcodec/exr: Check tile positionsMichael Niedermayer
This also disabled the case of mixed x/ymin with tiles, the code handles these cases inconsistent for the 2 coordinate axis and is unlikely working correctly. Fixes crash Fixes: poc1.exr, poc2.exr Found-by: Yaoguang Chen of Aliapy unLimit Security Team Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-13libavcodec/exr : cosmetics, rename variable in b44_uncompress funcMartin Vignali
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-07avcodec/exr: Fix mixed declarations and statementsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-07libavcodec/exr : indent gray support patchMartin Vignali
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-07libavodec/exr : add support for Y and YA file (ticket #5621)Martin Vignali
a gray channel in exr, is named Y we admit that the file need to be interpreted as gray only if no other channel match (except alpha) to manage RGB and Y in the color conversion part of decode_block, the color processing is now made with a for loop. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-30libavcodec/exr : fix decoding piz float file.Martin Vignali
fix ticket #5674 the size of data to process in piz_uncompress, is now calc using the pixel type of each channel. the data reorganization, alos take care about the size of each channel Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-25avcodec/exr: add missed hunks from previous exr commitMartin Vignali
2016-06-25avcodec/exr: fix reading float channel when there is half and float channels ↵Martin Vignali
in a file
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-06avcodec/exr: indent b44 uncompress functionMartin Vignali
2016-06-06avcodec/exr: fix decoding of B44 exr when all channel doesnt have the same ↵Martin Vignali
pixel type
2016-06-06avcodec/exr: move channel_line_size to thread dataMartin Vignali
In order to be used by b44 uncompress.
2016-06-06avcodec/exr: improve pxr24 uncompressMartin Vignali
Fix pxr24 uncompress when all channels doesnt have the same pixel type. The expected length after zip decoding, is now calculated channel by channel.
2016-06-06avcodec/exr: remove unneed scanline_size varMartin Vignali
2016-06-06avcodec/exr: fix tile decoding when all channels doesnt have the same pixel typeMartin Vignali
Also simplify the tile code, sharing more code with the scanline mode.
2016-06-06avcodec/exr: indent the if (layer_match) partMartin Vignali
2016-06-06avcodec/exr: fix layer detectionMartin Vignali
Only test a channel if the layer name match. Avoid to try to mix channel between the main layer (rgba layer), and the layer request by the user.
2016-05-19avcodec/exr: Fix potential integer overflowMichael Niedermayer
Fixes CID1361949 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-04-25libavcodec/exr: move xsize and ysize to thread dataMartin Vignali
Fixes slice threading. Signed-off-by: James Almer <jamrial@gmail.com>
2016-04-17avcodec/exr: Fix "libavcodec/exr.c:1494:13: warning: ISO C90 forbids mixed ↵Michael Niedermayer
declarations and code" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-12avcodec/exr: fix huf_decodeMartin Vignali
2016-04-12avcodec/exr: fix clearing end of bitmapPaul B Mahol
Inspired by patch from Martin Vignali. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-04-10avcodec/exr: fix channel detectionMartin Vignali
2016-04-06avcodec/exr: enable mipmap, ripmap decodingMartin Vignali
2016-04-04libavcodec/exr : add support for compression in tileMartin Vignali
2016-04-04libavcodec/exr : cosmetic changeMartin Vignali
2016-04-03libavcodec/exr: add tile supportMartin Vignali
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-04-03libavcodec/exr: fix PRX24 Float decompressionMartin Vignali
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-26avcodec/exr: add support for B44 and B44A compressionMartin Vignali
2016-01-30lavc/exr: Move setting SAR down.Carl Eugen Hoyos
Fixes a theoretical issue if the resolution attribute is written behind the aspect attribute.
2016-01-02Merge commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1'Hendrik Leppkes
* commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1': Remove stray line breaks from avpriv_{report_missing_feature|request_samples} Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-26Remove stray line breaks from avpriv_{report_missing_feature|request_samples}Diego Biurrun
2015-12-18exr: fix out of bounds read in get_codeAndreas Cadhalpun
This macro unconditionally used out[-1], which causes an out of bounds read, if out is the very beginning of the buffer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-12-17exr: fix out of bounds read in get_codeAndreas Cadhalpun
This macro unconditionally used out[-1], which causes an out of bounds read, if out is the very beginning of the buffer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-10-04avcodec: use HAVE_THREADS header guards to silence -Wunused-functionGanesh Ajjanagadde
When compiled with --disable-pthreads, e.g http://fate.ffmpeg.org/report.cgi?time=20150917015044&slot=alpha-debian-qemu-gcc-4.7, a bunch of -Wunused-functions are reported due to missing header guards around threading related functions. This patch should silence such warnings. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-11avcodec/exr: Mark up the decoded buffer as the appropriate transfer ↵Kevin Wheatley
characteristic when applying one
2015-09-11avcodec/exr: Add support for applying a transfer characteristic curve to ↵Kevin Wheatley
OpenEXR inputs. Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
2015-07-27Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer
* commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27lavc: AV-prefix all codec capabilitiesVittorio Giovara
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-06-06avcodec/exr: fix crash caused by mergePaul B Mahol
Various header informations need to be reset when decoding next frame. Regression since: 95582b5c Fixes ticket #4597. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-04-01Revert "avcodec/exr: fix memset first arg in reverse_lut()"Michael Niedermayer
This reverts commit 586ba24ff29468d2a4ee843a9650feea5b2be6f6. Fixes Ticket 4386 Found-by: Martin Vignali <martin.vignali@gmail.com>
2015-02-22avcodec/exr: fix memset first arg in reverse_lut()Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2014-12-05Merge commit 'e0bb74a1403ed77ef369b9d62866f8a4afaf3f1d'Michael Niedermayer
* commit 'e0bb74a1403ed77ef369b9d62866f8a4afaf3f1d': exr: Add a gamma flag to exr loader to avoid banding Conflicts: libavcodec/exr.c See: cd3daad77ea420f3373d3c5feee46825d235cccc Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-03exr: Add a gamma flag to exr loader to avoid bandingGonzalo Garramuno
This is needed to avoid banding artifacts when gammaing the picture. Currently, if done with a video filter, the process is done on uints instead of full float. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2014-11-15Merge commit '3a6ddfb8745e4b306a5637927fb057f630345e2f'Michael Niedermayer
* commit '3a6ddfb8745e4b306a5637927fb057f630345e2f': exr: check return value Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-14exr: check return valueVittorio Giovara
CC: libav-stable@libav.org Bug-Id: CID 1198259
2014-06-21Merge commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2'Michael Niedermayer
* commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2': Add av_image_check_sar() and use it to validate SAR Conflicts: libavcodec/dpx.c libavcodec/dvdec.c libavcodec/ffv1dec.c libavcodec/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>