summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc: add a new bitstream filtering APIAnton Khirnov2016-03-20
| | | | Deprecate the current bitstream filtering API.
* takdec: ensure chan2 is a valid channel indexAndreas Cadhalpun2016-03-20
| | | | | | | | If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* svq3: Use a separate buffer for decoding the slicesLuca Barbato2016-03-16
| | | | The AVPacket.data should be considered read-only.
* qsv: Fix loading multiple pluginsLuca Barbato2016-03-15
| | | | av_get_token does not strip the trailing separator.
* mpegvideo: Refactor emulated_edge_mc callsLuca Barbato2016-03-05
|
* mpegvideo: Fix undefined negative shifts in mpeg_motion_internalLuca Barbato2016-03-05
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: Fix undefined negative shifts in ff_init_block_indexLuca Barbato2016-03-05
| | | | | | Found-by: gcc5-ubsan. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* idct8x8: Fix undefined negative shiftsKaterina Barone-Adesi2016-03-05
| | | | | | | | | | | The original code left-shifts negative values, which is undefined in the C99 specification (the one used during normal Libav compilation). This change multiplies by (1 << shift), which is functionally equivalent, but has defined behavior. With this change, fate-idct8x8 compiled with --fsanitize=undefined works. Bug-Id: 686
* vdpau: Add missing deprecation guardsVittorio Giovara2016-03-05
|
* lavc: factor apply_param_change() AV_EF_EXPLODE handlingwm42016-03-05
| | | | | | Remove the duplicated code for handling failure of apply_param_change(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo2: Fix banding artefactsLuca Barbato2016-03-01
| | | | | | | | Rename luma table to delta table and change how it is used. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo2data: K&R formatting cosmeticsLuca Barbato2016-03-01
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fft: Split MDCT bits off from FFTDiego Biurrun2016-03-01
|
* rdft: arm: Split RDFT initialization into a separate fileDiego Biurrun2016-02-26
|
* fft: arm: Drop unnecessary #include, add missing onesDiego Biurrun2016-02-26
|
* fft: x86: cosmetics: Drop silly comments, add comment, whitespaceDiego Biurrun2016-02-26
|
* qsv: Move down the implementation queryLuca Barbato2016-02-26
| | | | | The plugin loaded may not match the general implementation capability wise.
* avpacket: properly reset data/size in av_packet_move_ref()Anton Khirnov2016-02-26
| | | | | It currently just calls av_init_packet(), which does not touch those fields.
* mpegvideo_enc: use avcodec_free_context() instead of av_free()Anton Khirnov2016-02-26
|
* vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-25
| | | | This avoids accessing NULL pointers in case of error.
* vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-25
| | | | | The deinit function in the 'error' section will correctly free everything.
* vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-25
|
* vc1dec: Drop commented out cruftVittorio Giovara2016-02-25
|
* idct: Only build prores IDCT if ProRes decoder is enabledDiego Biurrun2016-02-24
|
* qsvdec: store the sync point in heap memoryAnton Khirnov2016-02-24
| | | | The reasoning is the same as for the corresponding qsvenc patch.
* qsvenc: store the sync point in heap memoryMaxym Dmytrychenko2016-02-24
| | | | | | | | The QSV runtime expects the sync point address passed to MFXVideoENCODE_EncodeFrameAsync() to be valid until MFXVideoCORE_SyncOperation(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add a variant of av_get_audio_frame_duration working with ↵Anton Khirnov2016-02-23
| | | | AVCodecParameters
* lavc: add codec parameters APIAnton Khirnov2016-02-23
| | | | | | This API is intended to allow passing around codec parameters without using full AVCodecContext (which also contains codec options and encoder/decoder state).
* x86: hevc: Fix linking with both yasm and optimizations disabledDiego Biurrun2016-02-23
| | | | | Some optimized functions reference optimized symbols, so the functions must be explicitly disabled when those symbols are unavailable.
* mpeg12enc: always write closed gops for intra only outputsMarton Balint2016-02-22
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* h264: Add an AVClass pointer to H264ContextMichael Niedermayer2016-02-22
| | | | | | | Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libx264: Fix noise_reduction option assignmentVittorio Giovara2016-02-22
| | | | | First check the context, then check internal option. Drop the ! typo. Introduced in 60f0fde3092d18d4d36555962c192af8691a099c.
* build: Disentangle VC-1 decoder and parserDiego Biurrun2016-02-19
|
* build: Add vc1dsp component for more fine-grained dependenciesDiego Biurrun2016-02-19
|
* msmpeg4data: Move WMV2 data tables to their own fileDiego Biurrun2016-02-19
|
* msmpeg4data: K&R formatting cosmeticsDiego Biurrun2016-02-19
|
* build: Introduce iso_media componentDiego Biurrun2016-02-18
|
* build: Let the WTV demuxer select the MPEG-TS demuxerDiego Biurrun2016-02-18
| | | | | The WTV demuxer depends on large parts of the MPEG-TS demuxer internals anyway and fails to build without it.
* build: Fix dependencies for components relying on H.263 data tablesDiego Biurrun2016-02-18
|
* build: Add missing dependencies for eatqi decoderDiego Biurrun2016-02-18
|
* build: Add missing celp_math dependency for G723_1 encoder and decoderVittorio Giovara2016-02-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* profiles: Add missing #endif commentDiego Biurrun2016-02-18
|
* cosmetics: Drop particularly redundant silly commentsDiego Biurrun2016-02-18
|
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
|
* qsv: add a missing #includeAnton Khirnov2016-02-18
| | | | Needed for enum AVCodecID
* fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefsDiego Biurrun2016-02-15
| | | | Also fix #endif comments in the FFT init code.
* nvenc: support CUDA frames as inputAnton Khirnov2016-02-14
|
* lavc: add a field for passing AVHWFramesContext to encodersAnton Khirnov2016-02-14
|
* Allow linking to CUDA dynamically instead of dlopen()ing it at runtimeAnton Khirnov2016-02-14
|