summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc/mjpegdec: Do not skip reading quantization tables.Carl Eugen Hoyos2016-09-03
| | | | | | They may contain 0xFFs, confusing the start code finding algorithm. Fixes ticket #5819.
* libavcodec/opus: Add channel mapping 2 to extradata parserMichael Graczyk2016-09-01
| | | | | | | | This allows libavcodec/opus to demux ambisonics in an ogg/opus container. Channel mapping family 2 is being added in this standards track IETF draft: tools.ietf.org/html/draft-ietf-codec-ambisonics-00 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/opus: Fix spelling in error messageMichael Graczyk2016-09-01
|
* avcodec/nvenc: update license headerTimo Rothenpieler2016-08-28
|
* avcodec/nvenc: use proper soname for cuda/nvenc librariesTimo Rothenpieler2016-08-28
|
* avcodec/nvenc: check maximum driver API versionTimo Rothenpieler2016-08-28
|
* avcodec/nvenc: fix potantially uninitialized freeTimo Rothenpieler2016-08-28
|
* avcodec/nvenc: fix library names on cygwinTimo Rothenpieler2016-08-28
|
* avcodec/nvenc: added support for rate control lookaheadOliver Collyer2016-08-28
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: added support for 10 bit HEVC encodingOliver Collyer2016-08-28
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: include nvEncodeAPI v7 SDK headerTimo Rothenpieler2016-08-28
| | | | | | | | | | | | | As Nvidia has put the most recent Video Codec SDK behind a double registration wall, of which one needs manual approval of a lenghty application, bundling this header saves everyone trying to use NVENC from that headache. The header is still MIT licensed and thus fine to bundle with ffmpeg. Not bundling this header would get ffmpeg stuck at SDK v6, which is still freely available, holding back future development of the NVENC encoder.
* lavc/lpc: Add min_shift parameter in LPCJai Luthra2016-08-28
| | | | | | | The min_shift parameter is needed by the MLP encoder Signed-off-by: Jai Luthra <me@jailuthra.in> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/bsfs: Fix bsf option settingJan Sebechlebsky2016-08-26
| | | | | | | | AV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict() to set options for private context. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/exr: Check tile positionsMichael Niedermayer2016-08-25
| | | | | | | | | | | | 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>
* avformat/avcodec: support rawvideo with planar rgb and alpha in nutPaul B Mahol2016-08-23
|
* libzvbi depends on assRafaël Carré2016-08-23
|
* lavc/h264dec: Improve "Increasing reorder buffer" message loglevel.Carl Eugen Hoyos2016-08-23
| | | | | Do not show the message for the first frame by default, show a warning if increasing is necessary in the middle of the stream.
* avcodec/aacenc: Tighter input checksMichael Niedermayer2016-08-23
| | | | | | | | Fixes occurance of NaN/Inf leading to assertion failures and out of array access Fixes: d1c38a09acc34845c6be3a127a5aacaf/signal_sigsegv_3982225_6121_d18bd5451d4245ee09408f04badd1b83.wmv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/alsdec: Remove unused variableMichael Niedermayer2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/me_cmp: add median SAD compare functionStanislav Dolganov2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/alsdec: Implement floating point sample data decodingUmair Khan2016-08-22
| | | | | | It conforms to the RM22 version of the reference encoder Signed-off-by: Umair Khan <omerjerk@gmail.com>
* avcodec: Implement masked lz decompressionUmair Khan2016-08-22
| | | | Signed-off-by: Umair Khan <omerjerk@gmail.com>
* libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqxMark Reid2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/wmalosslessdec: Check the remaining bitsMichael Niedermayer2016-08-21
| | | | | | | | Fixes assertion failure Fixes: 24ebfda03228b5cc1ef792608cfba458/signal_sigabrt_7ffff6ae7c37_6473_3fa8a111dbc752b1a7c411c5ab79aaa4.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Add custom item name function for bsf listJan Sebechlebsky2016-08-21
| | | | | | | | | which will construct string description of filter chain. This is done using lazy-initialization, so there is no overhead if item name is never accessed. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/adpcm: Fix adpcm_ima_wav paddingMichael Niedermayer2016-08-21
| | | | | | | | Fixes out of array read Fixes: f29f134ea5f5590df554a7733294a587/asan_stack-oob_309d14e_9188_ea01743d6355aff20530f3d4cdaa841a.wav Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/svq3: fix slice size checkMichael Niedermayer2016-08-20
| | | | | | | | 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>
* avcodec/diracdec: Check numx/yMichael Niedermayer2016-08-20
| | | | | | | | Fixes division by 0 Fixes: 60261c4469ba3e11059890fb2832a515/asan_generic_135e694_2790_beb94eaa0aeb7d11c0437375a8964a99.drc Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645_parse: fix nal sizeMichael Niedermayer2016-08-20
| | | | | Found-by: <durandal_1707> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645_parse: Use get_nalsize() in ff_h2645_packet_split()Michael Niedermayer2016-08-20
| | | | | | This fixes several regressions in h.264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h264_parser: Factor get_avc_nalsize() outMichael Niedermayer2016-08-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cfhd: Increase minimum band dimension to 3Michael Niedermayer2016-08-19
| | | | | | | | | | 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>
* avcodec/indeo2: check ctabMichael Niedermayer2016-08-19
| | | | | | | | Fixes out of array access Fixes: 6b73fa392ac808f02e95a4e0a5770026/asan_static-oob_1b15f9a_1969_e7778535e5f27225fe0d6ded14721430.AVI Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rawdec: Fix bits_per_coded_sample checksMichael Niedermayer2016-08-19
| | | | | | | | Fixes assertion failure Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8926_4609a5c3f071d555d2d557625f9687b1.swf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vcodec/h2645_parse: Clear buffer paddingMichael Niedermayer2016-08-18
| | | | | | | | Fixes use of uninitialized memory Fixes: 044100cb22845944988a4bd821ff8074/asan_heap-oob_329927a_1366_c3de34ce9217dac820fbb46171031bbb.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645: Fix NAL unit paddingMichael Niedermayer2016-08-18
| | | | | | | | | The parser changes have lost the support for the needed padding, this adds it back Fixes out of array reads Fixes: 03ea21d271abc8acf428d42ace51d8b4/asan_heap-oob_3358eef_5692_16f0cc01ab5225e9ce591659e5c20e35.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: add 64-bit signed pcm codecPaul B Mahol2016-08-18
|
* lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.Carl Eugen Hoyos2016-08-17
|
* avcodec/ffv1enc: Add RGB48 supportMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1enc: do not offset null pointersMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1: Fix rgb plane ordering in experimental planar RGBMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1enc: Factor rice high depth check outMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: add trailing_padding to AVCodecContext to match AVCodecParameters.Jon Toohill2016-08-16
| | | | | | Shows encoder delay/padding in the stream summary if they are set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Add list BSF APIJan Sebechlebsky2016-08-15
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/iff: remove palette swapping for animPaul B Mahol2016-08-15
| | | | It appears it is wrong.
* libavcodec/qsvdec_h2645.c: switch to the new BSF APIIvan Uskov2016-08-15
| | | | | | | | | | This patch applies same changes as commit e3dfef8e3c85a64dbe6388117303f5819fa3c6a2 of libav: instead of the obsolete AVBitStreamFilterContext now the new AVBSFContext filter is used to restore annex-B prefixes. Based-on: e3dfef8e3c85a64dbe6388117303f5819fa3c6a2 by Anton Khirnov Push requested by maintainer Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aacenc: fix various typos and an error messageRostislav Pehlivanov2016-08-13
| | | | | | Too much copy and pasting. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* aacenc: unmark the fast coder as experimentalRostislav Pehlivanov2016-08-13
| | | | | | | This version has had much testing so there's little point in keeping it maked as experimental. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* aacenc: add a faster version of twoloop as the "fast" coderRostislav Pehlivanov2016-08-13
| | | | | | | | | Does nothing fancy but still sounds very decent at 128kbps. Still room to improve by bringing in the low pass and PNS management from the main big twoloop which should improve its quality but not sacrifice that much speed. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/bsf: Add ff_bsf_get_packet_ref() functionJan Sebechlebsky2016-08-13
| | | | | | | | Use of this function can save unnecessary malloc operation in bitstream filter. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>