summaryrefslogtreecommitdiff
path: root/src/xine-engine/input_rip.c
AgeCommit message (Collapse)Author
2008-05-09Use size_t to keep the value returned by strlen().Diego 'Flameeyes' Pettenò
When using a variable to store the result of strlen(), make sure its type is size_t just like the function returns, rather than using a smaller type like int. --HG-- extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
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
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-04-04Reorder and pack the structures that are defined inside compilation units ↵nopadding_no_abi_changeDiego 'Flameeyes' Pettenò
instead of headers (and thus are not part of public ABI).
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-07Wrap the seek_time() and get_current_time() methods when supported by the ↵Claudio Ciccani
real input plugin. CVS patchset: 8491 CVS date: 2007/01/07 20:26:23
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
2006-05-07[coverity]František Dvořák
Try to fix CID: 38 (Variable "buf" tracked as NULL was dereferenced). I think it's because of not checking for todo < 0. CVS patchset: 7989 CVS date: 2006/05/07 09:37:31
2005-02-09Finally commit the plugin loader improvements.Thibaut Mattern
see my last mail about this stuff: http://thread.gmane.org/gmane.comp.video.xine.devel/12547 and this thread: http://thread.gmane.org/gmane.comp.video.xine.devel/11213 CVS patchset: 7395 CVS date: 2005/02/09 20:03:18
2005-02-03**BUGFIX**František Dvořák
Fixed build on solaris: - use libresolv in hstrerror check - replace PRIiMAX and PRIXMAX by PRIdMAX and PRIxMAX Removed timezone struct for MinGW from public os_types.h, update header comment. Fixed build musepack library on some platforms using xine types. Thanks to Niki W. Waibel for reporting and testing. CVS patchset: 7378 CVS date: 2005/02/03 07:19:03
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-10-29use monotonic clock when availableMiguel Freitas
CVS patchset: 7087 CVS date: 2004/10/29 23:11:37
2004-09-26 - almost finalize headers refactoring needed for MSVC frontends (and for otherFrantišek Dvořák
poor platforms, of course) - fix a bug in generated xine-config for WIN32 and make it relocateable under Windows - MSVC port: update, fix some warnings, remove old unneeded files - improve function for getting runtime directory, it will need next fix yet (bug probably due to active volume drives) CVS patchset: 7001 CVS date: 2004/09/26 22:54:51
2004-09-20Build system improvements:František Dvořák
- use replacement functions (macro AC_REPLACE_FUNCS and variable LTLIBOBJS), each function is in a file placed into lib/ directory, it was not necessary, but it looks nice, IMHO - headers cleanups (this was needed): - prototypes of replacement funtions and macros are placed into separate os_internal.h (and included by config.h) - drop include inttypes.h from public xine.h, replaced by custom os_type.h, idea origins from Ogg/Vorbis public headers - disable generating inttypes.h: generated replacement isn't enough for xine-lib but nobody complained (and for M$VC we have special version) - better including headers for win32, let dvdnav use its mutex wrapper - updated M$VC port Result: - xine is compiled nicely by MinGW, CygWin and paritaly M$VC - frontends in M$VC port don't require additional helping headers - moved some platform specific things from xine-utils and win32/contrib to lib/ Finally I can start with real coding. :-) CVS patchset: 6982 CVS date: 2004/09/20 19:30:02
2004-09-17Warning patch for Win32 - casted off_t to intmax_t for printing.František Dvořák
CVS patchset: 6979 CVS date: 2004/09/17 19:21:33
2004-05-09Valid error description for gethostbyname. Obsolete function hstrerror() has ↵František Dvořák
no replacement, so it's used, but with configure check. CVS patchset: 6503 CVS date: 2004/05/09 17:42:23
2003-12-25Not overwrite regular files by RIP, only add number suffix.František Dvořák
CVS patchset: 5948 CVS date: 2003/12/25 21:57:28
2003-12-05- fix crash when sending a security ui messageBastien Nocera
CVS patchset: 5845 CVS date: 2003/12/05 18:07:04
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-24Support for large files created by RIP input plugin. It's used fseeko(). ↵František Dvořák
When configure won't find it, it will be used fseek() with 2 GB limit. CVS patchset: 5778 CVS date: 2003/11/24 22:52:15
2003-11-23Oops, now it's compiled OK.František Dvořák
CVS patchset: 5777 CVS date: 2003/11/23 23:43:35
2003-11-23Implement seek timeout in RIP and drop input capability INPUT_CAP_SLOW_SEEK.František Dvořák
Check for seek success in mp3 and avi demuxers. CVS patchset: 5775 CVS date: 2003/11/23 23:20:56
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-11-08inform the user of why stream cannot be saved.Miguel Freitas
should we add a new XINE_MSG_ type? CVS patchset: 5708 CVS date: 2003/11/08 22:12:13
2003-11-08Enclose forbid of saving between ifdefs for people, who may do it.František Dvořák
CVS patchset: 5707 CVS date: 2003/11/08 09:14:29
2003-11-04Final patches for compiling xine under MSVC:František Dvořák
- basename() is added to xine-utils, if it isn't found by configure - macros with variable number of arguments are simplified to ignore additional arguments (only for MSVC), lprintf macro simplified with full functionality - minor update for building a52, some preparation for ffmpeg CVS patchset: 5687 CVS date: 2003/11/04 14:38:26
2003-11-02Fix SEGFAULT beside error if no plugin loaded yet.František Dvořák
Fix one "segfault" of win32 xineui. Next piece of patch for compiling xine under MSVC. CVS patchset: 5676 CVS date: 2003/11/02 14:12:52
2003-10-24* notify the user that the save feature is disabled by defaultMichael Roitzsch
* security warning when the user tries to set the save_dir to a dangerous location CVS patchset: 5586 CVS date: 2003/10/24 09:34:01
2003-10-20Clog the security hole in RIP input plugin. Streams may be saved only into ↵František Dvořák
onle directory. Note, this is patch only for xine-engine. It doesn't cover cfg:// MRLs used by xine-ui. CVS patchset: 5558 CVS date: 2003/10/20 08:36:56
2003-10-13Don't find out id3 info in mp3 files saved by RIP from non-seekable inputs.František Dvořák
CVS patchset: 5507 CVS date: 2003/10/13 14:52:53
2003-10-05Update comment in input_rip.c according to current syntax.František Dvořák
CVS patchset: 5445 CVS date: 2003/10/05 10:39:25
2003-09-17Fix one seeking bug in RIP: seeking behind or on savepos, if we areFrantišek Dvořák
before savepos for seekable original plugin and saving into fifo. I forgot test this case :-). CVS patchset: 5398 CVS date: 2003/09/17 17:15:50
2003-09-17Fix one thing: calling *_read() from original input plugin in theFrantišek Dvořák
rip_plugin_read_block(), it should be called *_read_block(). Problems occurs only for seeking with cdda input plugin and saving into fifo. CVS patchset: 5397 CVS date: 2003/09/17 17:14:12
2003-09-13new seeking patch by Frantisek Dvorak <valtri@atlas.cz>Miguel Freitas
CVS patchset: 5365 CVS date: 2003/09/13 15:34:59
2003-08-22bugfix, simplify seekMiguel Freitas
CVS patchset: 5301 CVS date: 2003/08/22 14:27:30
2003-08-21RIP Input PluginMiguel Freitas
CVS patchset: 5300 CVS date: 2003/08/21 00:37:26