summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* lavc: replace avcodec_set_dimensions with ff_set_dimensionsAnton Khirnov2013-10-31
| | | | | | avcodec_set_dimensions() is supposed to be an internal utility function, there is no reason whatsoever for it to be public. Therefore deprecate it.
* h264: wait for initial complete frame before outputing framesJohn Stebbins2013-10-31
| | | | | | | | This can be optionally disabled whith the "output_corrupt" flags option. When in "output_corrupt" mode, incomplete frames are signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* HNM4/HNM4A demuxer & video decoderDavid Kment2013-10-31
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: add error checking to apply_param_change.Anton Khirnov2013-10-30
|
* libopenjpegdec: return meaningful error codesAnton Khirnov2013-10-30
|
* h264: Check all allocationsDerek Buitenhuis2013-10-29
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavc: remove old unused audio conversion functions.Anton Khirnov2013-10-28
|
* ac3dec: fix outptr increment.Michael Niedermayer2013-10-28
| | | | | | | | | Fixes corrupt data errors when downmixing in the AC-3 decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* lavc: don't set AVFrame.pts to random numbers in decoders.Anton Khirnov2013-10-28
|
* g722dec: Change bits_per_codeword to the right option typeMartin Storsjö2013-10-28
| | | | | | | This isn't a set of flags but just a plain integer in the range 6-8. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: disable CRC checking by defaultAnton Khirnov2013-10-28
|
* lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.Anton Khirnov2013-10-28
| | | | | | Just crccheck prints a warning, crccheck+explode returns an error. Also document this behavior.
* error resilience: check error_concealment, not err_recognition.Anton Khirnov2013-10-28
| | | | | err_recognition is supposed to trigger detecting and reporting errors, not trying to fix them.
* h263: Check init_get_bits return valueMichael Niedermayer2013-10-28
| | | | | | | And use init_get_bits8 to check for integer overflows while at it. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h263: Return meaningful errorsLuca Barbato2013-10-28
|
* h264_ps: when parsing a VUI fails, only abort when explode is setAnton Khirnov2013-10-27
| | | | | | A VUI doesn't contain anything strictly necessary for decoding. Apparently there are many samples with truncated VUIs in the wild, this commit should allow decoding them.
* mmvideo: fix uninitialized variable use in mm_decode_intraVittorio Giovara2013-10-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fft-test: add a missing #includeAnton Khirnov2013-10-26
| | | | stdio.h needed for printf since 7177df90a043bd59e172843fc7cb9e767080ea12
* aacdec: Fix calls to avpriv_report_missing_feature().Alex Converse2013-10-25
| | | | It does not take log level as an argument.
* fft-test: Remove possibility of returning restricted exit codeDerek Buitenhuis2013-10-25
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dct-test: Remove possibility of returning a restricted exit codeDerek Buitenhuis2013-10-25
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* golomb: reduce scope of a few variablesVittorio Giovara2013-10-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* golomb: K&R formatting cosmeticsVittorio Giovara2013-10-23
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h263: K&R formatting cosmeticsLuca Barbato2013-10-23
| | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: Drop a faulty assertLuca Barbato2013-10-23
| | | | | | | That check is easily reachable by faulty input. CC:libav-stable@libav.org Reported-by: Torsten Sadowski <tsadowski@gmx.net>
* aac: Add support for Enhanced AAC Low Delay (ER AAC ELD).Alex Converse2013-10-23
| | | | | This does not include support for LD SBR, epTool, data resilience, nor the 960 transform family.
* aacdec: Use avpriv_report_missing_feature() instead of custom logging.Alex Converse2013-10-23
|
* h264_parser: Use ff_h264_reset_sei()Yusuke Nakamura2013-10-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264_parser: Fix order of operationsMichael Niedermayer2013-10-22
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pthread: Avoid spurious wakeupsBen Jackson2013-10-21
| | | | | | | | | | | | | | | pthread_wait_cond can wake up unexpectedly (Wikipedia: Spurious_wakeup). The FF_THREAD_SLICE thread mechanism could spontaneously execute jobs or allow the caller of avctx->execute to return before all jobs were complete. Test both cases to ensure the wakeup is real. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: Move 8x8 in a separate functionLuca Barbato2013-10-15
|
* mpegvideo: Move obmc in a separate functionLuca Barbato2013-10-15
|
* ffv1: Assume bitdepth 0 means 8bitLuca Barbato2013-10-15
| | | | | CC: libav-stable@libav.org Reported-by: debian/726189
* mpegvideo: K&R formatting cosmeticsLuca Barbato2013-10-15
|
* lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje2013-10-15
|
* h264_parser: Fix POC parsing for the case where MMCO_RESET is present.Yusuke Nakamura2013-10-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.Yusuke Nakamura2013-10-15
| | | | | | | The prev_ values were not set after parsing POC. Increase length of the buffer decoded to parse enough safely. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bitstream: Check the result of av_malloc()Diego Biurrun2013-10-15
|
* cavs: more K&R formatting cosmeticsDiego Biurrun2013-10-15
|
* mpegaudio_tablegen: Don't use llrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cos_tablegen: Don't use lrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tablegen: Don't use cbrtf in host toolsDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on them being present on all systems, and you cannot include libm.h in a host tool, so just hard code baseline implementations. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tableprint: Fix use of a size_t print with MSVCDerek Buitenhuis2013-10-15
| | | | | | | %zu was introduced in C99, so MSVC has its own way to handle it, namely %Iu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cavs: Check for negative cbpLuca Barbato2013-10-13
| | | | | | Sample-Id: 00000647-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cavs: Return meaningful error valuesLuca Barbato2013-10-13
|
* cavs: K&R formatting cosmeticsLuca Barbato2013-10-13
|
* pthread: Fix deadlock during thread initializationDerek Buitenhuis2013-10-13
| | | | | | | | | | Sometimes, if pthread_create() failed, then pthread_cond_wait() could accidentally be called in the worker threads after the uninit function had already called pthread_cond_broadcast(), leading to a deadlock. Don't call pthread_cond_wait() if c->done is set. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* indeo4: Check the inherited quant_matLuca Barbato2013-10-13
| | | | | | | | Invalidate it if not supported. Sample-Id: 00000262-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the block size if reusing the band configurationLuca Barbato2013-10-13
| | | | | | | Sample-Id: 00000287-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavc doxy: extend/clarify avcodec_decode_audio4() doxyAnton Khirnov2013-10-12
| | | | Elaborate on flushing the decoder.