summaryrefslogtreecommitdiff
path: root/src/libxinevdec/bitplane.c
AgeCommit message (Collapse)Author
2008-05-09Remove a new bunch of xine_malloc() calls.Diego 'Flameeyes' Pettenò
Also don't reset memory after it's allocated if we do that with calloc.
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2008-04-19Replace xine_xcalloc usage with calloc, for the revisions transplanted from ↵Diego 'Flameeyes' Pettenò
1.2 series.
2007-04-14Use xine_xcalloc instead of xine_xmalloc when mutiplying the number of ↵Diego 'Flameeyes' Pettenò
elements by the size of the single element. (transplanted from 512894f517c423fed0cadeca0d46c6d909403106) --HG-- extra : transplant_source : Q%28%94%F5%17%C4%23%FE%D0%CA%DE%CA%0DF%C6%D9%09%401%06
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-08-15Workaround for recent glibc & -D_FORTIFY_SOURCE=2 (defines open() as a macro).Darren Salt
According to bug 1773769, this breaks foo->open(). The fix (as used in Ville Skyttä's patch, which doesn't cover all cases) is to replace this with (foo->open)(). This patch was generated using sed -i -re 's/(([[:alnum:]_]+(->|\.))+open) ?\(/(\1) (/' `grep '[>.]open \?(' include -rIl` One change (in a comment) is not committed.
2007-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-03-21[coverity]Thibaut Mattern
CID: 276 Checker: USE_AFTER_FREE (help) File: xine-lib/src/libxinevdec/bitplane.c Function: bitplane_decode_data Description: Double free of pointer "(this)->buf" in call to "free" CID: 171 Checker: RESOURCE_LEAK (help) File: xine-lib/src/libxinevdec/bitplane.c Function: bitplane_decode_byterun1 Description: Returned without freeing storage "uncompressed" CID: 34 Checker: FORWARD_NULL (help) File: xine-lib/src/libxinevdec/bitplane.c Function: bitplane_sdelta_opt_3 Description: Variable "ptr" tracked as NULL was dereferenced. CVS patchset: 7943 CVS date: 2006/03/21 07:39:18
2004-12-16use UTF-8 meta info setting, where we know the string is ASCIIMichael Roitzsch
(costly conversion is not necessary, because ASCII is a subset of UTF-8) CVS patchset: 7264 CVS date: 2004/12/16 13:58:57
2004-08-21little cleanup and improved the playback of broaken iff filesManfred Tremmel
CVS patchset: 6902 CVS date: 2004/08/21 21:21:12
2004-03-07added ANIM OPT 3, 4 and 6 support (untested, can't find testfiles)Manfred Tremmel
CVS patchset: 6227 CVS date: 2004/03/07 12:48:15
2004-03-03fix compiler warningMichael Roitzsch
CVS patchset: 6210 CVS date: 2004/03/03 20:00:38
2004-02-29speed improvements (reduced CPU-usage up to 90% when playing IFF-ANIM files)Manfred Tremmel
CVS patchset: 6196 CVS date: 2004/02/29 19:22:42
2004-02-25IFF: added ANIM OPT7 and OPT8 supportManfred Tremmel
CVS patchset: 6188 CVS date: 2004/02/25 18:57:34
2004-02-22HAM decoding bug fixedManfred Tremmel
CVS patchset: 6184 CVS date: 2004/02/22 18:31:48
2004-02-22fixed a bug when displaying IFF-ILBM 24 Bit picturesManfred Tremmel
CVS patchset: 6183 CVS date: 2004/02/22 16:47:30
2004-02-22added IFF-ANIM support, opt5 and (untested, can't finde samples) opt 4 codingsManfred Tremmel
CVS patchset: 6182 CVS date: 2004/02/22 12:36:35
2004-02-09Only read frame duration when BUF_FLAG_FRAMERATE is setJames Stembridge
CVS patchset: 6125 CVS date: 2004/02/09 22:04:11
2004-02-02added IFF-ILBM supportManfred Tremmel
CVS patchset: 6108 CVS date: 2004/02/02 22:22:51