summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2008-07-03Rewrite demux_real and demux_realaudio for style.Diego 'Flameeyes' Pettenò
Also try to simplify frame buffer allocation. --HG-- extra : transplant_source : %B6%B5o%A8%24%E1%F5B%D2%D8%08%F8%DE%E7%9E%B6%B8C%A4j
2008-06-27Add basic aspect ratio detection for WMV streams.Darren Salt
2008-06-25Merge, and add a changelog entry.Darren Salt
2008-06-25Add comments about (audio track)->type containing the stream no.Darren Salt
2008-06-25Backed out changeset f2086511a349; m->type isn't necessarily 0.Darren Salt
2008-06-05demux_ts: don't OR in buffer types.Darren Salt
2008-05-25Recognise TS descriptor tag 0x80 as MPEG video.Darren Salt
2008-05-25Wherever possible, use enum constants for TS descriptor tags.Darren Salt
2008-05-23Remove 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-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-09Avoid 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-09Don'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-09Avoid 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-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-07Merge file removal.Diego 'Flameeyes' Pettenò
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-05-07Mark 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-03Remove unused variables, as reported by GCC 4.3.Diego 'Flameeyes' Pettenò
2008-05-03Remove specific ID3v2 parsing funcion from the header file, always use the ↵Diego 'Flameeyes' Pettenò
generic one to access them.
2008-04-30Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed.Darren Salt
2008-04-21Add MIME types and .mpp for musepack.Darren Salt
2008-04-19Replace xine_xcalloc usage with calloc, for the revisions transplanted from ↵Diego 'Flameeyes' Pettenò
1.2 series.
2008-06-18Separate PES stream IDs from TS descriptor tags.Darren Salt
2008-06-16demux_ts: Always replace PIDs when we parse a PMTSimon 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-14Extra MIME types for Quicktime/ISO media.Darren Salt
2008-01-10Merge new flag.Thibaut Mattern
2008-01-09Added padding delay to the first and the last frame.Thibaut Mattern
Output 8 zero-bytes at the end of the stream to flush the decoder.
2008-01-09Fixed gapless playback.Thibaut Mattern
2008-01-06Tell the Real demuxer about lists of http references.Darren Salt
Such broken wrong-extension wrong-MIME-type lists exist in the wild...
2008-01-04Cosmetics : replace tabs by spaces.Thibaut Mattern
2008-01-04Initial parsing of Xing header LAME extension.Thibaut Mattern
2008-01-03Detect corrupted or broken seek tables for CBR MP3 files. [Bug #3]Thibaut Mattern
--HG-- extra : transplant_source : %00%11%94ZZG%2A%A0%2A%3B%DA%CDx%AC%02%A8%E8%C3%DF%A5
2008-01-01Avoid potential install-time mislinkage against libxine.so.2.Darren Salt
2007-12-18Use 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-12-29Only check for the chunk's size to be lesser than 100 when reading the COMM_TAG.Diego 'Flameeyes' Pettenò
This way, bigger audio chunks won't make the demuxer fail. Fixes bug #6.
2007-12-26Fix pls parsing (broken in cset e0819c1c624a).Darren Salt
(transplanted from c139cfe735874922208d936c8e49bbfa532ed2ec) --HG-- extra : transplant_source : %C19%CF%E75%87I%22%20%8D%93l%8EI%BB%FAS.%D2%EC
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-12-17compileMatthias Kretz
2007-12-17add video/flv and application/x-flash-video MIME aliases as used by shared-mimeMatthias Kretz
2007-12-16Tell the Real demuxer about http references.Darren Salt
2007-12-13Set stream information only when reading a streaminfo FLAC block.Diego 'Flameeyes' Pettenò
(transplanted from 6d9f36be48839984c3888f3d803319942c4d76e6) --HG-- extra : transplant_source : E%81r%E5-%5B%C2%21%15h%E3_%CB%23%25%9B%01l%03Y
2007-12-13Free the temporary variables that are allocated, avoid memory leaks.Diego 'Flameeyes' Pettenò
(transplanted from c994a2508893efc4c85f5b49600b7dceec5c890e) --HG-- extra : transplant_source : %C9%94%A2P%88%93%EF%C4%C8_%5BI%60%0B%7D%CE%EC%5C%89%0E
2007-12-02silence stdout of ogg demuxerMatthias Kretz
2007-11-25Fix a signedness issue in genre number validation.Darren Salt
Negative values would be accepted, resulting in junk in XINE_META_INFO_GENRE or a segfault.
2007-11-25Avoid any future need to alter ID3_GENRE_COUNT.Darren Salt
2007-11-25patch adding additional ID3 genresMaximilian Schwerin
2007-11-24Add option to disable Nosefart/NSF plugin building.Diego 'Flameeyes' Pettenò
This way you can get a safer build for binary redistribution.
2007-11-23Merge.Darren Salt
2007-11-23fix read_ogg_packet to really read all of the data; don't go into ↵Matthias Kretz
DEMUX_FINISHED from send_header