summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-19Only calculate proxyauth and auth when they are going to be used.Diego 'Flameeyes' Pettenò
2007-12-19Rewrite http_plugin_basicauth to use libavutil's base64 encoding.Diego 'Flameeyes' Pettenò
2007-12-19Merge from 1.2 branch.Diego 'Flameeyes' Pettenò
2007-12-19Make auth also a local variable in http_plugin_open.Diego 'Flameeyes' Pettenò
2007-12-19Make proxyauth a variable local to http_plugin_open() function.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F2%15%E8%D0%BC%EE%04Xk%21U%D2%AB%968%0F%15%8A%91E
2007-12-18Merge from 1.1.Darren Salt
2007-12-18Don't treat # in MRLs as literals or URI-decode raw filenames. [Bug 1784272]Darren Salt
2007-12-18Clean up recursive mkdir().Darren Salt
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
2007-12-18Use variable-sized arrays rather than allocated buffer.Diego 'Flameeyes' Pettenò
2007-12-18Mark the enctable static.Diego 'Flameeyes' Pettenò
2007-12-18Avoid a multiplication.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use strdup.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf where possible.Diego 'Flameeyes' Pettenò
2007-12-18Use variable-sized arrays rather than allocated buffers.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf().Diego 'Flameeyes' Pettenò
2007-12-18Use automatic buffers rather than malloc/free the buffer.Diego 'Flameeyes' Pettenò
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
2007-12-18There's no need to use an if: when block_data is NULL, realloc() acts as ↵Diego 'Flameeyes' Pettenò
malloc().
2007-12-18Use an automatic array rather than malloc'ing and free'ing it on the function.Diego 'Flameeyes' Pettenò
2007-12-18Only open (and close) iconv in asf_header_parse_content_description.Diego 'Flameeyes' Pettenò
This way the iconv descriptor is not left open during the whole ASF demuxing.
2007-12-18Check for buffer_len before allocating the buffer, so it hasn't to be freed.Diego 'Flameeyes' Pettenò
2007-12-18Set the values of buffers in the same if as they are tested.Diego 'Flameeyes' Pettenò
Use calloc(1, ...) rather than using memset right afterward.
2007-12-18As the error codepath is going to assert out anyway, don't do the extra malloc.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf instead of sprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use zeroed allocation instead of memset, and don't zero out a string that is ↵Diego 'Flameeyes' Pettenò
going to be fully sprintf'd.
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.
2007-12-18Remove a memset after xine_xmalloc.Diego 'Flameeyes' Pettenò
2007-12-18Remove superfluous include.Diego 'Flameeyes' Pettenò
2007-12-18Allocate the preview buffer only when actually needed; use zeroed allocation ↵Diego 'Flameeyes' Pettenò
rather than memset().
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-18Simplify code.Diego 'Flameeyes' Pettenò
2007-12-18Simplify code by returning immediately in case of error.Diego 'Flameeyes' Pettenò
2007-12-18Use xine_xmalloc rather than setting everything at zero by hand.Diego 'Flameeyes' Pettenò
2007-12-18Use default_demux_plugin_dispose as dispose function.Diego 'Flameeyes' Pettenò
2007-12-18Remove more class_dispose functions, and replace with ↵Diego 'Flameeyes' Pettenò
default_post_class_dispose.
2007-12-18Allow vdr/netvdr MRLs to work without requiring #demux:mpeg_pes.Darren Salt
(This doesn't work with detection by content.)