summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-26Free font_pos allocated in the function.Diego 'Flameeyes' Pettenò
Found by Coverity Scan CID 156. CVS patchset: 8313 CVS date: 2006/09/26 22:51:54
2006-09-26Don't dereference the pointer before it's tested for being not null.Diego 'Flameeyes' Pettenò
Found by Coverity Scan CID 245. CVS patchset: 8312 CVS date: 2006/09/26 22:35:32
2006-09-26Avoid an off-by-one found by Coverity Scan CID 133.Diego 'Flameeyes' Pettenò
CVS patchset: 8311 CVS date: 2006/09/26 22:29:39
2006-09-26Check pointers before dereferencing them.Diego 'Flameeyes' Pettenò
Found by Coverity Scan CID 255. Fixed upstream too. CVS patchset: 8310 CVS date: 2006/09/26 22:23:51
2006-09-26Free the _data pointer when returning NULL. Fix backported from upstream.Diego 'Flameeyes' Pettenò
Closes Coverity Scan CID 225. CVS patchset: 8309 CVS date: 2006/09/26 22:18:44
2006-09-26Check for validity of the pointer before using strlen() on it.Diego 'Flameeyes' Pettenò
Found by Coverity Scan CID 242. Fixed upstream too. CVS patchset: 8308 CVS date: 2006/09/26 22:10:24
2006-09-26Make sure that no possibly NULL pointer is dereferenced.Diego 'Flameeyes' Pettenò
Found by Coverity Scan CID 248. CVS patchset: 8307 CVS date: 2006/09/26 22:03:44
2006-09-26Fix an off-by-one, found by Coverity Scan CID 118.Diego 'Flameeyes' Pettenò
CVS patchset: 8306 CVS date: 2006/09/26 21:54:40
2006-09-26Fix _x_config_change_opt function to actually sanity check all the pointers, ↵Diego 'Flameeyes' Pettenò
and avoid deeply nested code. Closes Coverity Scan CIDs 246 and 247. CVS patchset: 8305 CVS date: 2006/09/26 21:51:11
2006-09-26When there's no plugin to replace, output a log, and skip the plugin ↵Diego 'Flameeyes' Pettenò
entirely, to avoid an off-by-one in decoder_map. Found by Coverity Scan CID 122. CVS patchset: 8304 CVS date: 2006/09/26 21:32:08
2006-09-26Avoid off-by-one overrun. Found by Coverity Scan CID 120.Diego 'Flameeyes' Pettenò
CVS patchset: 8303 CVS date: 2006/09/26 21:20:21
2006-09-26Fix the strcpy calls, backport from upstream.Diego 'Flameeyes' Pettenò
CVS patchset: 8302 CVS date: 2006/09/26 21:18:18
2006-09-26Fix the size of file_id attributes, backport from current upstream versions.Diego 'Flameeyes' Pettenò
CVS patchset: 8301 CVS date: 2006/09/26 21:16:59
2006-09-26Actually be a bit more smarter, if this can be used, continue with the ↵Diego 'Flameeyes' Pettenò
original behaviour, if not, use fprintf. CVS patchset: 8300 CVS date: 2006/09/26 20:31:40
2006-09-26printerr() macros are often used when the pointer "this" is NULL. In those ↵Diego 'Flameeyes' Pettenò
cases the result is an immediate segfault, as it's dereferenced. To avoid this, use fprintf instead of writing in err_str. CVS patchset: 8299 CVS date: 2006/09/26 20:17:43
2006-09-26Free splitpath when returning. Found by Coverity Scan CID 302.Diego 'Flameeyes' Pettenò
CVS patchset: 8298 CVS date: 2006/09/26 19:26:57
2006-09-26Add missign command extending the size of video_types array and fixing the ↵Diego 'Flameeyes' Pettenò
possible off by one reported by Coverit Scan CID 134. CVS patchset: 8297 CVS date: 2006/09/26 18:52:41
2006-09-26Fix off-by-one error identified by Coverit Scan. CID 116.Diego 'Flameeyes' Pettenò
CVS patchset: 8296 CVS date: 2006/09/26 18:13:11
2006-09-26Don't do anything if cfft is NULL, or dereferencing it might lead to crashes.Diego 'Flameeyes' Pettenò
Close Coverity Scan CID 244. CVS patchset: 8295 CVS date: 2006/09/26 18:00:31
2006-09-26Remove unused if checks on free.Diego 'Flameeyes' Pettenò
CVS patchset: 8294 CVS date: 2006/09/26 17:55:59
2006-09-26Fix an off by one identified by Coverity Scan, CID 136.Diego 'Flameeyes' Pettenò
CVS patchset: 8293 CVS date: 2006/09/26 17:48:24
2006-09-26Use _x_assert.Diego 'Flameeyes' Pettenò
CVS patchset: 8292 CVS date: 2006/09/26 08:00:02
2006-09-26Forgot one symbol.Diego 'Flameeyes' Pettenò
CVS patchset: 8291 CVS date: 2006/09/26 07:48:57
2006-09-26Fix the missing protected symbols, and enable hidden visibility for libxine.so.Diego 'Flameeyes' Pettenò
CVS patchset: 8290 CVS date: 2006/09/26 05:48:16
2006-09-26Use protected visibility for all the functions exported by libxine.so, so ↵Diego 'Flameeyes' Pettenò
that their binding is local to the library (has a similar effect to -Bsymbolic, but will work better with hidden visibility enabled, that is step two). CVS patchset: 8289 CVS date: 2006/09/26 05:19:47
2006-09-26Check for visibility attribute, to allow using protected visibility for ↵Diego 'Flameeyes' Pettenò
library functions. CVS patchset: 8288 CVS date: 2006/09/26 04:15:29
2006-09-26Initialise values for mad_fixed_64{hi,lo}_t variables, for safety.Diego 'Flameeyes' Pettenò
Fixes CID 264 263 from coverity. CVS patchset: 8287 CVS date: 2006/09/26 03:02:20
2006-09-26Assert presence of this->renderer as the whole function relies on its presence.Diego 'Flameeyes' Pettenò
To avoid segmentation fault, also return if the renderer isn't found. CVS patchset: 8286 CVS date: 2006/09/26 02:36:55
2006-09-26Don't use the size in bytes of the frame_rate_tab table, it will not ↵Diego 'Flameeyes' Pettenò
correspond with the actual indexes. CID 112 of Coverity Scan. CVS patchset: 8285 CVS date: 2006/09/26 01:19:31
2006-09-26Instead of defining the buffer every time, use a static constant buffer, ↵Diego 'Flameeyes' Pettenò
that is filled just one time. Solves CID 290 from Coverity Scan. CVS patchset: 8284 CVS date: 2006/09/26 01:13:18
2006-09-26Free the filename string and close the file pointer when returning.Diego 'Flameeyes' Pettenò
Found by Coverity Scan. CVS patchset: 8283 CVS date: 2006/09/26 00:52:17
2006-09-26Avoid crashing when handle somehow ends up being less than zero.Diego 'Flameeyes' Pettenò
CVS patchset: 8282 CVS date: 2006/09/26 00:28:14
2006-09-26Initialise hi/lo values for safety.Diego 'Flameeyes' Pettenò
Found by Coverity Scan. CVS patchset: 8281 CVS date: 2006/09/26 00:12:20
2006-09-26Don't check ebml value, after all dispose_ebml_parser() is just an alias to ↵Diego 'Flameeyes' Pettenò
free(), and it accepts NULL just fine. CVS patchset: 8280 CVS date: 2006/09/26 00:07:05
2006-09-25Return when the initialisation failed.Diego 'Flameeyes' Pettenò
Found by Coverity Scan. CVS patchset: 8279 CVS date: 2006/09/25 23:56:31
2006-09-25Assign a character to a char variable, rather than a number. Hopefully will ↵Diego 'Flameeyes' Pettenò
remove a false positive in Coverity. CVS patchset: 8278 CVS date: 2006/09/25 23:22:21
2006-09-25Free the filename variable after usage (_x_rip_plugin_get_instance uses ↵Diego 'Flameeyes' Pettenò
strdup() properly). CVS patchset: 8277 CVS date: 2006/09/25 23:11:19
2006-09-25The frame_output_cb function for the scaler is mandatory, assert it so that ↵Diego 'Flameeyes' Pettenò
debug builds will show the error. When the build is non-debug, simply fallback to a certain, although not exactly desiderable, behaviour. Identified by Coverity. CVS patchset: 8276 CVS date: 2006/09/25 22:27:48
2006-09-24Update changelogDiego 'Flameeyes' Pettenò
CVS patchset: 8275 CVS date: 2006/09/24 16:30:36
2006-09-24Before using audio_stream and video_stream indexes, check if they are set.Diego 'Flameeyes' Pettenò
This fixes crash on streams with no audio (bug #1564598). CVS patchset: 8274 CVS date: 2006/09/24 16:29:10
2006-09-21Build fixes (other version of external libcdio workaround, typo in DX aout).František Dvořák
CVS patchset: 8273 CVS date: 2006/09/21 15:01:08
2006-09-20OK, one more fix for crazy platforms.František Dvořák
CVS patchset: 8272 CVS date: 2006/09/20 11:53:06
2006-09-19Finish the latest change - fix broken build for some platforms (BSD, Win, ↵František Dvořák
Solaris). CVS patchset: 8271 CVS date: 2006/09/19 13:31:19
2006-09-18Added comment about the workaround.Thibaut Mattern
CVS patchset: 8270 CVS date: 2006/09/18 18:56:56
2006-09-18Always use our own get_buffer/release_buffer function.Thibaut Mattern
Clean av_frame->data before calling avcodec_default_get_buffer. Fixed problems with debug build. CVS patchset: 8269 CVS date: 2006/09/18 18:51:08
2006-09-17DVDNAV changes:František Dvořák
improve MinGW support, kFreeBSD support define HAVE_* when provided replacement functions in xine-lib CVS patchset: 8268 CVS date: 2006/09/17 13:01:07
2006-09-16Provide an --enable-mmap switch to enable mmap, and default to the previous ↵Diego 'Flameeyes' Pettenò
behaviour (no-mmap). Problems to fix before enabling mmap() again: - SIGBUS when the file disappears (if can be worked around, low priority); - the size of the mmap()ed file is a constant, if the file is open for appending by another process mmap() should not be used; - there's a pointless memcpy() in the cache plugin that should be avoided for mmap() files. CVS patchset: 8267 CVS date: 2006/09/16 19:26:48
2006-09-16Fixed comment.Thibaut Mattern
CVS patchset: 8266 CVS date: 2006/09/16 14:38:18
2006-09-16Should fix some random crashes (see testsuite).Thibaut Mattern
CVS patchset: 8265 CVS date: 2006/09/16 14:35:44
2006-09-16Proper using CFLAGS when build ogg.František Dvořák
CVS patchset: 8264 CVS date: 2006/09/16 11:53:15