Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-29avcodec/dds: Fix runtime error: left shift of 145 by 24 places cannot be ↵Michael Niedermayer
represented in type 'int' Fixes: 1891/clusterfuzz-testcase-minimized-6274417925554176 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-13avcodec/dds: Fix runtime error: left shift of 210 by 24 places cannot be ↵Michael Niedermayer
represented in type 'int' Fixes: 1510/clusterfuzz-testcase-minimized-5826231746428928 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/dds: Fix runtime error: left shift of 1 by 31 places cannot be ↵Michael Niedermayer
represented in type 'int' Fixes: 1380/clusterfuzz-testcase-minimized-650122545122508 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-29lavc: fix usages of av_get_codec_tag_string()Clément Bœsch
2016-11-16dds: limit 4 bpp handling to AV_PIX_FMT_PAL8Andreas Cadhalpun
This fixes NULL pointer dereferencing for formats, where frame->data[1] is not allocated. The problem was introduced in commit 257fbc3af4cba08ac471dab68924182160bde6fd. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-09-21avcodec/dds: add support for 4bpp formatPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-06-21Merge commit '4b2e69397b84d1c1a29ffae6e9f106f2c32b1869'Clément Bœsch
* commit '4b2e69397b84d1c1a29ffae6e9f106f2c32b1869': dds: Add support for monochrome images Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-05-09Merge commit '22e49e6edead9c83696f20127988f659b952ce65'Derek Buitenhuis
* commit '22e49e6edead9c83696f20127988f659b952ce65': dds: Simplify postprocessing check Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-09Merge commit '02538636261fdec9c70f4185b23147c636f269b4'Derek Buitenhuis
* commit '02538636261fdec9c70f4185b23147c636f269b4': dds: Add support for alpha-only files Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-09Merge commit '9a9fb710bcf4657e030467cfe2556cb0e2c01afc'Derek Buitenhuis
* commit '9a9fb710bcf4657e030467cfe2556cb0e2c01afc': dds: Add support for rgb555 files Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-26dds: Add support for monochrome imagesVittorio Giovara
2016-04-26dds: Drop gray-alpha swappingVittorio Giovara
The original sample was generated with invalid software.
2016-04-15lavc/dds: Fix GRAY8A decoding.Carl Eugen Hoyos
Fixes ticket #4667.
2016-04-06dds: Simplify postprocessing checkVittorio Giovara
2016-04-06dds: Add support for alpha-only filesVittorio Giovara
Due to how pixel format conversion is done, they behave the same way as gray files. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-04-06dds: Add support for rgb555 filesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-12-27lavc/dds: replace rint by lrintGanesh Ajjanagadde
avoids float to int cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-14dds: disable palette flag for compressed ddsAndreas Cadhalpun
Having both is not valid and can cause a NULL pointer dereference of frame->data[1] later. Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-14dds: disable palette flag for compressed imagesAndreas Cadhalpun
Having both is not valid and can cause a NULL pointer dereference of frame->data[1] later. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-12dds: add missing newline to log messagesAndreas Cadhalpun
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-12dds: validate compressed source buffer sizeAndreas Cadhalpun
A too small buffer will cause segfaults somewhere below decompress_texture_thread. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-12dds: validate source buffer size before copyingAndreas Cadhalpun
If it is too small av_image_copy_plane segfaults. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-11dds: add missing newline to log messagesAndreas Cadhalpun
Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-11dds: validate compressed source buffer sizeAndreas Cadhalpun
A too small buffer will cause segfaults somewhere below decompress_texture_thread. Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-11dds: validate source buffer size before copyingAndreas Cadhalpun
If it is too small av_image_copy_plane segfaults. Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.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-07-23dds: Write the palette in the native endian formMartin Storsjö
This fixes the palette on big endian, broken (or, differing from little endian) since 57214b2f7. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-23dds: Fix the slice size computationTom Butterworth
A bug was introduced in 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-23Merge commit 'ebe8b5d947c41449c684f17c6826fe6bc46c0360'Michael Niedermayer
* commit 'ebe8b5d947c41449c684f17c6826fe6bc46c0360': dds: Fix the slice size computation Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-22Merge commit 'ea4d46e72945cba37feb7aa154eb970732f513e4'Michael Niedermayer
* commit 'ea4d46e72945cba37feb7aa154eb970732f513e4': dds: Fix enum declaration Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-22dds: Fix 32bpp bitmaps decodingMichael Niedermayer
Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-22dds: Fix palette decodingVittorio Giovara
Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
2015-07-22dds: Fix enum declarationVittorio Giovara
Drop the global variables with anonymous enum type.
2015-07-21Merge commit '6b2b26e7af3ede0abfb46eb5725c26d1083f50bc'Michael Niedermayer
* commit '6b2b26e7af3ede0abfb46eb5725c26d1083f50bc': dds: Decode using optimal slices sizes Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-21dds: Decode using optimal slices sizesLuca Barbato
Enjoy some cache locality and use less threads. About the same speedup provided to HAP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-20avcodec/dds: Flip more R<->B casesMichael Niedermayer
Fixes Ticket4665 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-20avcodec/dds: fix paletted filesMichael Niedermayer
Fixes Ticket4664 The changed fate tests lack red/blue shades and thus look correct either way Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-24dds: Fix palette mode on big endianLuca Barbato
Found-By: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-06-23avcodec/dds: Fix palettes on big endianMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-23Merge commit '5c018ee18895f88e9e1d2174059dcdd48bf872d2'Michael Niedermayer
* commit '5c018ee18895f88e9e1d2174059dcdd48bf872d2': DirectDraw Surface image decoder Conflicts: Changelog configure doc/general.texi libavcodec/Makefile libavcodec/version.h tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22DirectDraw Surface image decoderVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>