Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Actually remove the xine_check.h file. | Diego 'Flameeyes' Pettenò | |
2008-05-07 | Define support for attributes based on compiler's version outside xine build. | Diego 'Flameeyes' Pettenò | |
When we're including xine/attributes.h but we're not building xine, define the support for particular attributes based on the compiler and its version. This way semantic information is maintained outside xine's build (such as deprecated functions). | |||
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-07 | Make _x_health_check_* functions static. | Diego 'Flameeyes' Pettenò | |
The xine_check.h header is not currently installed and the symbols are not exported, their are only ever used in the same unit they are defined. | |||
2008-05-05 | CFLAGS are saved and changed inside the check cache. | Diego 'Flameeyes' Pettenò | |
2008-05-05 | Make open_internal static again. | Darren Salt | |
2008-05-05 | Check for malloc attribute and define XINE_MALLOC for use in xineutils.h, ↵ | Diego 'Flameeyes' Pettenò | |
rather than just checking for GCC 3. | |||
2008-05-05 | Generalise attributes checking, so that the same code is not copy-pasted for ↵ | Diego 'Flameeyes' Pettenò | |
all attributes. | |||
2008-05-03 | Define print_command only when actually logging. | Diego 'Flameeyes' Pettenò | |
2008-05-03 | Don't define flac_metadata_callback if we're not going to use it. It's only ↵ | Diego 'Flameeyes' Pettenò | |
used for legacy flac. | |||
2008-05-03 | Make two arrays of string become arrays of arrays of characters. | Diego 'Flameeyes' Pettenò | |
2008-05-03 | Remove deprecated functions from net_buf_ctrl.c. | Diego 'Flameeyes' Pettenò | |
2008-05-03 | Run check for unused attribute. | Diego 'Flameeyes' Pettenò | |
2008-05-03 | Fix configure when -Wunused-parameter is used. | Diego 'Flameeyes' Pettenò | |
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-05-03 | Mark some removed-in-1.2 typedefs as deprecated. | Darren Salt | |
2008-05-03 | Mark some removed-in-1.2 exported/unimplemented functions as deprecated. | Darren Salt | |
2008-05-03 | Add support for "deprecated" attribute. | Darren Salt | |
2008-04-30 | fix voraw description in xine.h | Christophe Thommeret | |
2008-04-30 | Fix green smearing in h264 decoding | Jason Tackaberry | |
Occasionally when playing h264-encoded files, green blocks will appear at the edges of the frame, and get smeared around (following the motion vectors, of course). This bug has existing in Xine for well over a year, and I keep hoping it will be fixed, but it never was. I recently learned that gstreamer had a similar problem and it was fixed last year. With this as a hint, I found http://bugzilla.gnome.org/show_bug.cgi?id=364139 and the patch attached to that bug. I've adapted that patch to xine, and it is attached. I have compared clips before and after applying this patch, and in all cases the green artifacts have gone away, and I have seen no negative side effects. | |||
2008-04-30 | Warn when using built-in ffmpeg rather than external ffmpeg. | Darren Salt | |
2008-04-30 | Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed. | Darren Salt | |
2008-04-28 | Add xine_get_pluginroot() for win32. Completely untested. | Darren Salt | |
2008-04-21 | Fix Xv driver debug build. | Darren Salt | |
2008-04-21 | Fix display of some MJPEG streams (YUVJ420P). | Darren Salt | |
2008-04-21 | Debug logging of ffmpeg pixel format in case of display errors. | Darren Salt | |
2008-04-21 | Add MIME types and .mpp for musepack. | Darren Salt | |
2008-04-20 | CVE no. for the NSF bug. | Darren Salt | |
2008-04-19 | Add a ChangeLog entry for the backports from 1.2. | Diego 'Flameeyes' Pettenò | |
2008-04-19 | Replace xine_xcalloc usage with calloc, for the revisions transplanted from ↵ | Diego 'Flameeyes' Pettenò | |
1.2 series. | |||
2007-12-18 | Use calloc() when allocating an array of elements. | Diego 'Flameeyes' Pettenò | |
(transplanted from 332f543689ebef22ef38e052c437d6998ac8fe66) --HG-- extra : transplant_source : 3/T6%89%EB%EF%22%EF8%E0R%C47%D6%99%8A%C8%FEf | |||
2007-12-18 | Use calloc() when allocating an array of elements. | Diego 'Flameeyes' Pettenò | |
(transplanted from e9e85d6bcc7e9aafb1dc019f3505de2dafe940bf) --HG-- extra : transplant_source : %E9%E8%5Dk%CC%7E%9A%AF%B1%DC%01%9F5%05%DE-%AF%E9%40%BF | |||
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-12-18 | Use calloc() when the allocated size would be counted by multiplying the ↵ | Diego 'Flameeyes' Pettenò | |
size of an item for the number of items. (transplanted from efc9d92af3d7927cbf5534b5612fd98af541ff95) --HG-- extra : transplant_source : %EF%C9%D9%2A%F3%D7%92%7C%BFU4%B5a/%D9%8A%F5A%FF%95 | |||
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 | |||
2008-04-17 | Changelog entry for SA29850. | Darren Salt | |
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-15 | Install xine-list-1.1.1 in the libxine1 .deb. | Darren Salt | |
2008-04-14 | Start 1.1.13; add date for 1.1.12 release. | Darren Salt | |
2008-04-14 | Added tag xine-lib-1_1_12-release for changeset 66e1654718fb | Darren Salt | |
2008-04-14 | Add boundary check on speex mode, see bug #83.xine-lib-1_1_12-release1.1.12 | Diego 'Flameeyes' Pettenò | |
--HG-- extra : transplant_source : %80%19%15%EAL%B3%1EAl%11RF%E7%BB%7FHa%2A%C5%1A | |||
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-14 | Title array has only five entries. It can be overrun. | Erik Hovland | |
2008-04-14 | strchr can return null. It should be checked. | Erik Hovland | |
2008-04-14 | The code checks dest when it should check *dest. | Erik Hovland | |
2008-04-14 | Make sure that muting/unmuting the audio without setting the volume does not ↵ | Diego 'Flameeyes' Pettenò | |
put the volume to zero. | |||
2008-04-14 | Fix build with srcdir != builddir. | Diego 'Flameeyes' Pettenò | |