Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-27 | Add basic aspect ratio detection for WMV streams. | Darren Salt | |
2008-06-25 | Merge, and add a changelog entry. | Darren Salt | |
2008-06-25 | Add comments about (audio track)->type containing the stream no. | Darren Salt | |
2008-06-25 | Backed out changeset f2086511a349; m->type isn't necessarily 0. | Darren Salt | |
2008-06-05 | demux_ts: don't OR in buffer types. | Darren Salt | |
2008-05-25 | Recognise TS descriptor tag 0x80 as MPEG video. | Darren Salt | |
2008-05-25 | Wherever possible, use enum constants for TS descriptor tags. | Darren Salt | |
2008-05-23 | Remove MIN/MAX macro definitions on unit. | Diego 'Flameeyes' Pettenò | |
Now that the macro are either imported from the system or defined by configure. don't define them in every source file. | |||
2008-05-23 | Mark 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-09 | Avoid 1KB buffer for decoding anxdata headers. | Diego 'Flameeyes' Pettenò | |
Instead of using a 1KB buffer to copy over the Content-Type header value to compare it, get a (pointer, length) pair and use that for comparison. This should also allow the compiler to inline the decode_anxdata_header() function. --HG-- extra : transplant_source : W%EE%5CN%BD%B8%8C%FA%CD%15p%CD%A5%CBQ%1E%893%97S | |||
2008-05-09 | Don't use t_title array after it got out of the scope. | Diego 'Flameeyes' Pettenò | |
In update_chapter_display() the t_title array, declared on the buffer, is used after it has disappeared from the scope. Instead of doing that, use directly the xine_ui_data_t array. Declare xine_event_t and xine_ui_data_t with their values directly, makes it more explicit that everything disappears at the end of the function. --HG-- extra : transplant_source : %25T%10eEd%CF%ECS%AC%A3%E3%E0%D3J%F6%A5%15%9EE | |||
2008-05-09 | Avoid loop for common memory operations (zeroing, copying, moving). | Diego 'Flameeyes' Pettenò | |
Use the proper function for common memory operations (memset() for zeroing, memcpy() for copying, memmove() for moving), instead of looping through arrays. By extension, remove loops to reset arrays when they were allocated with calloc() and thus already zeroed. | |||
2008-05-09 | Remove 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-07 | Avoid 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-07 | Merge file removal. | Diego 'Flameeyes' Pettenò | |
2008-05-07 | xine_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-05-07 | Mark internal functions and data structures static. | Diego 'Flameeyes' Pettenò | |
Functions and data structures that are not exported and are only ever used in the same unit they are defined should be marked static to improve compiler's ability to optimise them. This applies to xine_dispose_internal() function for xine-lib, the extended_to_int() function in the AIFF demuxer, the bandwidths array in QuickTime demuxer, the wc_pal_lookup table in the WC3 movie demuxer, and the rm_header and pnm_data_header arrays in pnm input plugin. | |||
2008-05-03 | Remove unused variables, as reported by GCC 4.3. | Diego 'Flameeyes' Pettenò | |
2008-05-03 | Remove specific ID3v2 parsing funcion from the header file, always use the ↵ | Diego 'Flameeyes' Pettenò | |
generic one to access them. | |||
2008-04-30 | Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed. | Darren Salt | |
2008-04-21 | Add MIME types and .mpp for musepack. | Darren Salt | |
2008-04-19 | Replace xine_xcalloc usage with calloc, for the revisions transplanted from ↵ | Diego 'Flameeyes' Pettenò | |
1.2 series. | |||
2008-06-18 | Separate PES stream IDs from TS descriptor tags. | Darren Salt | |
2008-06-16 | demux_ts: Always replace PIDs when we parse a PMT | Simon Farnsworth | |
demux_ts currently assumes that PIDs for a service never change - BBC THREE (amongst others) breaks this assumption. A PMT shouldn't change unless PIDs change, so always reacquire PIDs whenever we parse a PMT; this should work fine in the case when the PIDs do not change, and pick up the new PIDs whenever a change happens --HG-- extra : transplant_source : e%AB%EB%E1%CF%D8%1C%15%5E%DE%09%E4%3Dd%AB%E3f%FD%E5%9E | |||
2008-06-14 | Extra MIME types for Quicktime/ISO media. | Darren Salt | |
2007-12-18 | Use calloc() when allocating an array of elements. | Diego 'Flameeyes' Pettenò | |
(transplanted from 3640d3cbe551f96df932b7d6218b071b910a237b) --HG-- extra : transplant_source : 6%40%D3%CB%E5Q%F9m%F92%B7%D6%21%8B%07%1B%91%0A%23%7B | |||
2007-04-14 | Use 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-06-13 | Use strndup rather than just strdup to avoid overflows. | Diego 'Flameeyes' Pettenò | |
(transplanted from 47f7f33b32805da6e8f58513c38e01dc6a595fb8) --HG-- extra : transplant_source : G%F7%F3%3B2%80%5D%A6%E8%F5%85%13%C3%8E%01%DCjY_%B8 | |||
2008-04-14 | Remove a memset() rendered pointless by use of calloc(). | Darren Salt | |
2008-04-14 | divide by zero in demux_qt.c | Colin Gibbs | |
On some m4a files I get a divide by zero. bytes_per_packet in this case is zero. I'm not sure what the real problem is but skipping the assignment in that case works fine. | |||
2008-04-07 | Fix vorbis initialization problem in the matroska demuxer due to my last ↵ | Thibaut Mattern | |
vorbis bugfix. The Vorbis init has to be fixed in a better way, split logic has to be added here, maybe by reusing demux.c code. | |||
2008-04-07 | Implement support for "MPEG-3 adu". | Jinghua Luo | |
2008-04-07 | Move the sipro codec swap data & code into a common header. | Darren Salt | |
2008-04-07 | Use ffmpeg's cook decoder and fix Real decoder bugs | Jinghua Luo | |
This patch drops support for RV20. | |||
2008-04-06 | Add some newer Ogg MIME types. | Darren Salt | |
2008-04-05 | Fix a regression in the Matroska demuxer. | Darren Salt | |
One '&'... | |||
2008-03-31 | Revert a change which broke Quicktime atom parsing. | Darren Salt | |
2008-03-30 | Add video/x-matroska. | Darren Salt | |
2008-03-26 | calculate AIFF files samplerate from 80-bit float, fixes wrong playback of ↵ | Kirill Belokurov | |
some AIFF files | |||
2008-03-28 | AIFF comment chunks are word-aligned, so we should seek extra byte for them | Kirill Belokurov | |
2008-03-27 | read only full frames into buffer - otherwise decoder will lose trailing ↵ | Kirill Belokurov | |
bytes for 24bit AIFF | |||
2008-03-28 | More checking for memory allocation failures. | Darren Salt | |
2008-03-26 | Be more careful with malloc(x+1), particularly on 32-bit. | Darren Salt | |
2008-03-23 | Replace various malloc(x*sizeof(y)) with calloc(x,sizeof(y)). | Darren Salt | |
2008-03-23 | Check for failure of various memory allocations. (SA29484) | Darren Salt | |
Ref. http://aluigi.altervista.org/adv/xinehof-adv.txt | |||
2008-03-24 | WAV demuxer: search for the 'fmt ' chunk instead of assuming it's the first one | Kirill Belokurov | |
(fixes playback of some files) --HG-- extra : transplant_source : %F0N%EC%A4v%94%CA%1F%05%E3%E2%AC%5D8-%18c%AD%B1%E4 | |||
2008-03-07 | Get rid of some "may be used uninitialised" warnings. | Darren Salt | |
2008-03-02 | Reorganise DTS audio type detection (ready for LE16 & BE14); changelog entry. | Darren Salt | |
2008-02-22 | added patch for 16bit big endian DTS detection | Kirill Belokurov | |
--HG-- extra : transplant_source : %5C%D4ln%1C%B8Up%88%96R%09%1A%05HQ%3C%F8%CE%08 | |||
2008-02-20 | Off-by-one in the FLAC security fix, breaking playback of some files. | Darren Salt | |