summaryrefslogtreecommitdiff
path: root/libavcodec/zerocodec.c
Commit message (Collapse)AuthorAge
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* zerocodec: Fix memleak in decode_frameDerek Buitenhuis2012-08-04
| | | | | | | If there was a failure inflating, or reinitializing the zstream, the current frame's buffer would be lost. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: CosmeticsDerek Buitenhuis2012-08-04
| | | | | | Be consistent with error messages and code formatting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: fix direct rendering.Reimar Döffinger2012-07-23
| | | | | | | | | | | | Set picture type before calling get_buffer. This allows the DR application to make better decisions. It also fixes a resource leak in case of missing reference frames since it would call get_buffer but never release_buffer. Also use FFSWAP to ensure that the AVFrame is properly initialized in the next get_buffer (in particular that data[0] is NULL). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: check if the previous frame is missingPaul B Mahol2012-05-06
| | | | | | | | | ZeroCodec relies on the keyframe flag being set in the container, and prev is the previously decoded frame. A keyframe flags incorrectly set will lead to this condition. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* zerocodec: factorize loopMichael Niedermayer2012-03-23
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ZeroCodec DecoderDerek Buitenhuis2012-03-19
An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>