Age | Commit message (Collapse) | Author |
|
Add checks for negative return values in aac,ac3,dts,mpc,
nsf,ogg,shn,slave,ts,tta,vox demuxers.
Some input plugins (e.g. file) return negative error codes from read,
this should be treated as no (more) data available.
This is particularly the negative size is then assigned to buf->size,
potentially causing overflows elsewhere.
The patch also removes the duplication of the (previously) == 0 handler
in demux_ac3.
|
|
--HG--
extra : transplant_source : %F8H%5B%D0%15z%0E%22%CC.%84%E6%ADA/%FF%0F%81%BCS
|
|
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
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
Solaris definitions.
|
|
makes little sense, move BE_*_synchsafe functions from id3.c to id3.h and declare them inline, then BE_32_synchsafe can be replaced to id3v2_tagsize as drop in.
|
|
checks if a preamble is of an ID3v2 tag, and that calculate the size of the tag (to avoid repeating the same code over and over and over; the size of the shared object is reduced. Also make demux_flac use the id3.c functions to parse the eventual ID3 header.
CVS patchset: 8637
CVS date: 2007/03/03 01:41:16
|
|
demux_mpgaudio use it without repeating the same code.
CVS patchset: 8636
CVS date: 2007/03/03 00:58:52
|
|
block is repetitive as almost the same is implemented in demux_mpgaudio, so I'll work on that now.
CVS patchset: 8635
CVS date: 2007/03/03 00:33:51
|
|
prefixed clobbering the preview buffer, by skipping over the tag.
CVS patchset: 8632
CVS date: 2007/03/02 20:07:33
|
|
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too.
CVS patchset: 8523
CVS date: 2007/01/19 00:26:39
|
|
(Should fix playback of some MP3 files, at least.)
CVS patchset: 8379
CVS date: 2006/11/14 21:51:32
|
|
CVS patchset: 7926
CVS date: 2006/03/11 09:21:25
|
|
CVS patchset: 7605
CVS date: 2005/06/04 13:49:25
|
|
CVS patchset: 7602
CVS date: 2005/06/04 10:59:36
|
|
CVS patchset: 7596
CVS date: 2005/05/30 12:08:49
|
|
CVS patchset: 7554
CVS date: 2005/05/21 14:13:04
|
|
CVS patchset: 7552
CVS date: 2005/05/21 09:50:32
|
|
http://article.gmane.org/gmane.comp.video.xine.devel/9532
it is now up to demuxers to decide what the 0..65535 position means.
demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve
CVS patchset: 6686
CVS date: 2004/06/13 21:28:52
|
|
CVS patchset: 6298
CVS date: 2004/03/22 00:12:57
|
|
CVS patchset: 6295
CVS date: 2004/03/21 23:13:59
|
|
- increase demux and decoder apis
- fix runtime changing of ogg/ogm audio channels
note: i hope i haven't broken any demux->decoder data exchange. please report any problems.
CVS patchset: 6014
CVS date: 2004/01/09 01:26:32
|
|
CVS patchset: 5923
CVS date: 2003/12/19 05:09:16
|