summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.c
AgeCommit message (Collapse)Author
2007-12-18Use calloc() when the allocated size would be counted by multiplying the ↵Diego 'Flameeyes' Pettenò
size of an item for the number of items. Also don't memset calloc()ed areas to zero.
2007-12-18Declare color_* variables only when actually used.Diego 'Flameeyes' Pettenò
2007-12-18Replace seven calls to parse_data_atom with a single call, and then set the ↵Diego 'Flameeyes' Pettenò
value on the proper structure. This way, parse_data_atom is inlined by GCC.
2007-12-18Allocate atom_preamble only when it's actually going to be used.Diego 'Flameeyes' Pettenò
2007-12-18Simplify code, set ftyp_atom_size at once.Diego 'Flameeyes' Pettenò
2007-12-18Return right away if the atom is not an FTYP.Diego 'Flameeyes' Pettenò
2007-12-18Don't use an if when returning a comparison.Diego 'Flameeyes' Pettenò
2007-12-18Alloc preview only when needed; use zeroed allocation rather than memset.Diego 'Flameeyes' Pettenò
2007-12-18Don't test for the pointer before freeing.Diego 'Flameeyes' Pettenò
2007-12-13Make the edit_list_index parameter in get_next_edit_list_entry unsigned, ↵Diego 'Flameeyes' Pettenò
remove warnings.
2007-12-13Make parse_data_atom accept a constant buffer, removes warnings.Diego 'Flameeyes' Pettenò
2007-12-13Simplify code handling RDRF_ATOM, unbranch it.Diego 'Flameeyes' Pettenò
2007-12-13Change url in a char pointer, as it's a string, not a buffer.Diego 'Flameeyes' Pettenò
2007-12-13Change the way string_size is initialised, reduce the numer of temporary ↵Diego 'Flameeyes' Pettenò
operations with it.
2007-12-13Replace strncmp and strncpy with memcmp and memcpy where applicable.Diego 'Flameeyes' Pettenò
2007-12-13Add two missing types to constants.Diego 'Flameeyes' Pettenò
2007-12-11Rename METHOD_BY_EXTENSION to METHOD_BY_MRL, as it's used to identify ↵Diego 'Flameeyes' Pettenò
protocols too.
2007-12-11Remove redundant METHOD_BY_EXTENSION checks now that libxine takes care of them.Diego 'Flameeyes' Pettenò
2007-12-11Transform get_extensions and get_mimetypes into strings.Diego 'Flameeyes' Pettenò
Please note that this commit temporarily breaks building.
2007-12-11Bump the interface version for demuxer plugins.Diego 'Flameeyes' Pettenò
2007-12-11Use default_*_class_dispose macro whenever the class dispose function only ↵Diego 'Flameeyes' Pettenò
called free().
2007-12-11Use N_() rather than _(), passing the string just once to gettext().Diego 'Flameeyes' Pettenò
This way the gettext code for description does not need to be repeated by every plugin.
2007-12-11Update all demux plugins to the new identifier/description interface. Add ↵Diego 'Flameeyes' Pettenò
_() where missing, for i18n.
2007-11-10Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
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-09Merge FSF address changes from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
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 (1.2 branch commit).
2007-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2007-06-09Fix %d -> %zd for size_t parameter.Diego 'Flameeyes' Pettenò
2007-06-08Properly read metadata for the file, the structure is more complex than it ↵Diego 'Flameeyes' Pettenò
was previously implemented.
2007-06-08Fix metadata parser.Diego 'Flameeyes' Pettenò
2007-06-08Mark some stuff constant, reduce scope of a few other variables.Diego 'Flameeyes' Pettenò
2007-06-08More conversion to switches.Diego 'Flameeyes' Pettenò
2007-06-08More switches in parse_reference_atom.Diego 'Flameeyes' Pettenò
2007-06-08Use a switch statement even for the parsing of trak atom.Diego 'Flameeyes' Pettenò
2007-06-08Update parse_meta_atom to use a switch case rather than a series of if. By ↵Diego 'Flameeyes' Pettenò
the way, the code is totally broken and does not work as intended.
2007-05-31Patch: fix parsing qt/mov embedded referncesClaudio Ciccani
The attached patch fixes a problem with embedded references in recent versions of quicktime's movie formats. Apparently there is an additional atom (RMRA) before the RMDA atom: it works like a container for all subsequent atoms, so it can be safely skipped. You can test yourself what I'm saying by watching some trailers at apple.com (http://www.apple.com/trailers). -- Regards, Claudio Ciccani klan@users.sf.net http://directfb.org http://sf.net/projects/php-directfb
2007-04-21Add support for MDHD version 1 atom in demux_qt. [bug #1679398]Diego 'Flameeyes' Pettenò
2007-05-31Merge from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c
2007-04-21Merge from 1.1 branch.Diego 'Flameeyes' Pettenò
2007-04-21Avoid fiddling with __attribute__.Diego 'Flameeyes' Pettenò
2007-04-21Mark bandwidths array static.Diego 'Flameeyes' Pettenò
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-04-14Use xine_xcalloc instead of xine_xmalloc when mutiplying the number of ↵Diego 'Flameeyes' Pettenò
elements by the size of the single element.
2007-04-08Mark various private arrays, structs & fn parameters as static and/or const.Darren Salt
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
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-11-11Fixed a potential crash when parsing a "moov" atom containing an unsupported ↵Mathieu Olivier
atom CVS patchset: 8372 CVS date: 2006/11/11 12:23:44