summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_avi.c
AgeCommit message (Collapse)Author
2008-08-08Fix crash with corrupted AVI files (chunk size).Darren Salt
--HG-- extra : transplant_source : Z%F0%90e%A3%94%D3%7F%D9ROC8%3C%FD%F5FO%BFU
2008-05-23Mark initialisation functions with malloc attribute.Diego 'Flameeyes' Pettenò
All the initialisation functions returning a new object instance that was allocated through malloc() or calloc() can get the malloc attribute so that the compiler can optimise their call.
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-07Avoid memset() on newly allocated memory areas.Diego 'Flameeyes' Pettenò
If needed, use calloc() to allocate the area so that it's already reset by the time it returns.
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-03-28More checking for memory allocation failures.Darren Salt
2007-12-24Consistently use "colour", "colour key", "colour space" in output.Darren Salt
Some instances of "key colour" remain; ffmpeg is unmodified. This change has caused two strings with two translations to collide (the strings have become identical since some instances already used "colour"). I have therefore arbitrarily dropped the first of the differing translations, the one for the string at src/video_out/video_out_directfb.c:1365.
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-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2007-03-29Reorder fields and make use of a bitmask for boolean flags.Diego 'Flameeyes' Pettenò
CVS patchset: 8772 CVS date: 2007/03/29 19:24:18
2007-03-29Reorder a few fields to, well, fill some holes.Diego 'Flameeyes' Pettenò
CVS patchset: 8771 CVS date: 2007/03/29 19:07:00
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too. CVS patchset: 8523 CVS date: 2007/01/19 00:26:39
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-18Remove infinite loop condition that could have created an invalid access if ↵Diego 'Flameeyes' Pettenò
no keyframe was found. CVS patchset: 8053 CVS date: 2006/06/18 19:41:39
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-22Security fix for http://www.xfocus.org/advisories/200603/11.html,Matthias Hopf
as far as xine is affected. CVS patchset: 7992 CVS date: 2006/05/22 16:43: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-04Fixed bug 1420933Thibaut Mattern
[ 1420933 ] wStart (stream delay in AVI files) is not used CVS patchset: 7919 CVS date: 2006/03/04 12:04:42
2006-01-05Don't stop when an empty chunk is encountered.Thibaut Mattern
CVS patchset: 7830 CVS date: 2006/01/05 21:34:55
2005-11-28*BUGFIX*František Dvořák
Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56
2005-11-01Fix a bug introduced by my last commit.Thibaut Mattern
A newpts buffer was sent between the first and the second buffer. CVS patchset: 7793 CVS date: 2005/11/01 18:36:19
2005-10-05Fixed [ 1265313 ] Xvid playback stutter (v1.0/1.1)Thibaut Mattern
There is no discontinuity because pts are generated by the demuxer. CVS patchset: 7755 CVS date: 2005/10/05 07:08:48
2005-02-06Added node_plugin_t pointer to the demux struct.Thibaut Mattern
Incremented demux API version. This is needed to unload plugins. CVS patchset: 7385 CVS date: 2005/02/06 15:26:00
2005-02-03**BUGFIX**František Dvořák
Fixed build on solaris: - use libresolv in hstrerror check - replace PRIiMAX and PRIXMAX by PRIdMAX and PRIxMAX Removed timezone struct for MinGW from public os_types.h, update header comment. Fixed build musepack library on some platforms using xine types. Thanks to Niki W. Waibel for reporting and testing. CVS patchset: 7378 CVS date: 2005/02/03 07:19:03
2005-01-09- Simplify read functions.Thibaut Mattern
- Fix EOS detection of ODML streams. CVS patchset: 7336 CVS date: 2005/01/09 20:52:19
2005-01-05Fixed end of file detection.Thibaut Mattern
CVS patchset: 7328 CVS date: 2005/01/05 22:14:31
2004-12-25fix segfault with 'none' audio plugin.Daniel Caujolle-Bert
CVS patchset: 7301 CVS date: 2004/12/25 17:52:10
2004-12-24- AVI: set audio and video codecs on open, overridden by the decodersBastien Nocera
- ASF: same as above, as well as the video dimensions CVS patchset: 7298 CVS date: 2004/12/24 17:43:36
2004-12-20the lprintf logging macro will already print the filenameMichael Roitzsch
CVS patchset: 7287 CVS date: 2004/12/20 21:20:36
2004-10-15Check odml index validity.Thibaut Mattern
Should fix last odml problems. CVS patchset: 7038 CVS date: 2004/10/15 21:08:44
2004-10-13Support more ODML tags.Thibaut Mattern
Should fix problems with ODML files generated by mencoder. CVS patchset: 7033 CVS date: 2004/10/13 20:14:25
2004-10-13don't segfault with stdin:/ and indexless streamsDaniel Caujolle-Bert
CVS patchset: 7032 CVS date: 2004/10/13 17:19:26
2004-09-17Warning patch for Win32 - casted off_t to intmax_t for printing.František Dvořák
CVS patchset: 6979 CVS date: 2004/09/17 19:21:33
2004-07-04don't do pointer arithmetics with void*, because sizeof(void) is undefinedMichael Roitzsch
(it works on gcc with sizeof(void) == 1, but it's not portable) CVS patchset: 6769 CVS date: 2004/07/04 21:27:23
2004-07-03hmmm, don't ask me why it worked on some machines...Thibaut Mattern
CVS patchset: 6767 CVS date: 2004/07/03 19:22:16
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
http://article.gmane.org/gmane.comp.video.xine.devel/9532 it is now up to demuxers to decide what the 0..65535 position means. demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve CVS patchset: 6686 CVS date: 2004/06/13 21:28:52
2004-06-05Support big decoder init data chunk (> 8192 bytes).Thibaut Mattern
All demuxers and decoders have to be modified the same way... Fix playback of this stream (with win32 dll): http://naboo.homelinux.org/~daniel/media/p_length.avi CVS patchset: 6640 CVS date: 2004/06/05 14:11:24
2004-05-29special considerations for AVI files with a compression ID of 0 (treatMike Melanson
as RGB) and greyscale palette special case CVS patchset: 6606 CVS date: 2004/05/29 22:31:49
2004-05-27- fix avi->compressor not being set correctly (lack of parenthesis)Miguel Freitas
- workaround decoding bug (green blocks) for the xvid stream "test.avi" (i know, i know. it is a pretty generic name but some people know what i meant) - some lprintf's to real demuxer. helps debugging reference problems. CVS patchset: 6599 CVS date: 2004/05/27 11:10:11
2004-05-16Priority support.Thibaut Mattern
0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26
2004-05-04Recognise On2 avi variantJames Stembridge
CVS patchset: 6482 CVS date: 2004/05/04 21:45:15
2004-05-02Fix decoder init.Thibaut Mattern
CVS patchset: 6472 CVS date: 2004/05/02 12:32:11
2004-04-25Report ODML streams as such.Thibaut Mattern
CVS patchset: 6435 CVS date: 2004/04/25 16:23:19
2004-04-09small fix for heiko's avi streamsGuenter Bartsch
CVS patchset: 6355 CVS date: 2004/04/09 01:56:11
2004-03-16- patch from Tilmann BitterbergThibaut Mattern
- indentation - prevent segfault CVS patchset: 6279 CVS date: 2004/03/16 23:12:32
2004-02-29Various compilation fixes and updates:František Dvořák
- xine compilable without iconv (scream if I something broke) - update MSVC port, fixes in avi demux - add iff.h into makefiles - ffmpeg depends on zlib (build was OK only when freetype was installed) - commit a patch for goom CVS patchset: 6192 CVS date: 2004/02/29 17:26:45
2004-02-09Always send frame duration using BUF_FLAG_FRAMERATEJames Stembridge
CVS patchset: 6128 CVS date: 2004/02/09 22:24:36
2004-02-02Set extra_info for audio too.Thibaut Mattern
Hack for Xan audio, set dwScale=11025. tmmm: enjoy now, but don't ask me why it works ;-) CVS patchset: 6107 CVS date: 2004/02/02 21:32:40