summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge commit 'fc85646ad495f3418042468da415af73a7a07334'James Almer2017-04-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fc85646ad495f3418042468da415af73a7a07334': libopusdec: fix out-of-bounds read libschroedingerdec: fix leaking of framewithpts libschroedingerdec: don't produce empty frames This commit is a noop, see a86ebbf7f641bc797002ddea7fb517759722cd1b 3c0328d58d98664b05efdd377d3fe66a569d385e 8c8f543b81aa2b50bb6a6cfd370a0061281492a3 Merged-by: James Almer <jamrial@gmail.com>
| * libopusdec: fix out-of-bounds readAndreas Cadhalpun2016-12-08
| | | | | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
| * libschroedingerdec: fix leaking of framewithptsAndreas Cadhalpun2016-12-08
| | | | | | | | | | | | | | Also preserve the return value from ff_get_buffer(). Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * libschroedingerdec: don't produce empty framesAndreas Cadhalpun2016-12-08
| | | | | | | | | | | | They are not valid and can cause problems/crashes for API users. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
| * omx: Fix allocation checkTimothy Gu2016-12-08
| | | | | | | | | | | | | | Also use av_mallocz_array(). Bug-Id: CID 1396839 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * qsvdec: Fix memory leak on errorTimothy Gu2016-12-08
| | | | | | | | | | Bug-Id: CID 1396851 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'd5759701a82926059ae3e2530805e900041a5419'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit 'd5759701a82926059ae3e2530805e900041a5419': libkvazaar: Add missing header #includes Merged-by: James Almer <jamrial@gmail.com>
| * libkvazaar: Add missing header #includesDiego Biurrun2016-12-08
| | | | | | | | This fixes compilation after the next version bump.
| * build: Add an internal component for hevc_ps codeDiego Biurrun2016-12-08
| | | | | | | | This allows expressing dependencies in a more correct way.
| * lavc: Add spherical packet side data APIVittorio Giovara2016-12-07
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '624aa8ab221cf34693f9a8c5ab67219cf560f2bb'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit '624aa8ab221cf34693f9a8c5ab67219cf560f2bb': build: Add missing Makefile entries and ifdefs for QSV hwaccels Merged-by: James Almer <jamrial@gmail.com>
| * build: Add missing Makefile entries and ifdefs for QSV hwaccelsDiego Biurrun2016-12-07
| |
* | avcodec/aacenc_ltp: fix use of uninitialized valuesJames Almer2017-04-12
| | | | | | | | | | | | | | Fixes some valgrind warnings. Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/tiff: Factor constant computation out of inner loopMichael Niedermayer2017-04-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dnxhddec: fix -Wformat warning raised by DJGPPJames Almer2017-04-11
| | | | | | | | | | | | | | FF_ARRAY_ELEMS returns a size_t value. Reviewed-by: ubitux Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/lcldec: mark output frames as keyframesPaul B Mahol2017-04-11
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/lcldec: add support for frame threadsPaul B Mahol2017-04-11
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dnxhddec: add support for very big resolutionsPaul B Mahol2017-04-11
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Revert "avcodec/svq1: zero initialize entries array"Clément Bœsch2017-04-10
| | | | | | | | | | | | | | This reverts commit aed84ee4d1b0c9e315a84b1ee0918fa49ee9cc09. It is a false positive from Valgrind with recent GCC and -funswitch-loops (present in -O3).
* | avcodec/pixlet: Reorder rlen checkMichael Niedermayer2017-04-10
| | | | | | | | | | | | | | | | This changes nothing but is nicer looking as this checks rlen Maybe this helps coverity remove CID1397743 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mjpegenc_huffman: Assert length in ff_mjpegenc_huffman_compute_bits()Michael Niedermayer2017-04-10
| | | | | | | | | | | | This should help coverity see that the issues this leads to cannot occur Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mpegvideo_enc: disable optimized huffman coding with AMV or slice threadsRostislav Pehlivanov2017-04-09
| | | | | | | | | | | | Doesn't work yet with slice threading and won't work with AMV. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Revert "mjpegenc: disable huffman coding with AMV"Michael Niedermayer2017-04-09
| | | | | | | | | | | | This was the wrong patch This reverts commit 7f9b492d544ccef36f1d5d97a76d22502623d3c8.
* | avcodec/hevcdec: remove duplicate extradata parsing functionJames Almer2017-04-09
| | | | | | | | | | | | | | | | | | Use ff_hevc_decode_extradata() instead, which correctly only tries to decode parameter set NAL units and not any other NAL that may be present in extradata. Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_parse: split build dependenciesJames Almer2017-04-09
| | | | | | | | | | Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_parse: allow setting apply_defdispwin when decoding SPS NAL unitsJames Almer2017-04-09
| | | | | | | | | | Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_parse: check for parameter set decoding failureJames Almer2017-04-09
| | | | | | | | | | Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/svq1: zero initialize entries arrayJames Almer2017-04-09
| | | | | | | | | | | | | | Fixes valgrind warnings about "Use of uninitialised value of size 8" Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'e1dc5358af0dadef548114ec9cabba766b7c6260'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit 'e1dc5358af0dadef548114ec9cabba766b7c6260': build: Create a component for MPEG audio header decoding Merged-by: James Almer <jamrial@gmail.com>
| * build: Create a component for MPEG audio header decodingDiego Biurrun2016-12-05
| | | | | | | | Fixes standalone compilation of the libmp3lame encoder.
* | Merge commit '0fdc9f81a00f0f32eb93c324bad65d8014deb4dd'Clément Bœsch2017-04-09
|\| | | | | | | | | | | | | * commit '0fdc9f81a00f0f32eb93c324bad65d8014deb4dd': build: Add missing hevc_ps dependency for QSV HEVC encoder Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add missing hevc_ps dependency for QSV HEVC encoderDiego Biurrun2016-12-05
| |
| * mimic: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * metasound: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * lagarith: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * indeo: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * imc: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * webp: Convert to the new bitstream readerAlexandra Hájková2016-12-03
| |
| * mpeg4audio: correctly propagate meaningful error valuesJames Almer2016-12-02
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hqx: add support for frame threadsPaul B Mahol2017-04-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/cllc: add support for frame threadsPaul B Mahol2017-04-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dcadsp: Fix runtime error: signed integer overflowMichael Niedermayer2017-04-09
| | | | | | | | | | Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mjpegenc: enable optimal huffman coding by defaultRostislav Pehlivanov2017-04-09
| | | | | | | | | | | | | | | | As it gives excellent encoding gains at an insignificant speed increase and passes fate without problems, it should now be safe to enable by default. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | mjpegenc: disable huffman coding with AMVRostislav Pehlivanov2017-04-09
| | | | | | | | | | | | Isn't supported. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | mjpegenc_common: check for codec ID before using avctx->priv_dataRostislav Pehlivanov2017-04-08
| | | | | | | | | | | | | | When coding lossless jpeg the priv context will be pointing to LJpegEncContext rather than MpegEncContext, which the function expects. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | Merge commit 'd82d5379caca21005d8906829b35361c4a65408e'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit 'd82d5379caca21005d8906829b35361c4a65408e': mmaldec: initialize refcount using atomic_init() Merged-by: Clément Bœsch <u@pkh.me>
| * mmaldec: initialize refcount using atomic_init()Wan-Teh Chang2016-12-02
| | | | | | | | | | | | | | This is how we initialize refcount in libavutil/buffer.c. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '5168026a05258537f1c48ca95c1776b1554997f4'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '5168026a05258537f1c48ca95c1776b1554997f4': options_table: Do not rely on enum size as option bound Merged-by: Clément Bœsch <u@pkh.me>
| * options_table: Do not rely on enum size as option boundVittorio Giovara2016-12-02
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'ff9db5cfd14558df9cfcc54d6c062bc34bf1f341'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit 'ff9db5cfd14558df9cfcc54d6c062bc34bf1f341': lavc: Use a stricter check for the color properties values Merged-by: Clément Bœsch <u@pkh.me>