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.
|
|
for some unknown reason, alloca is defined in <malloc.h> on mingw32.
|
|
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.
|
|
|
|
This may have side-effects wrt other streams; CDDA is fine, though.
|
|
instance yet.
|
|
Matthias Kretz.
CVS patchset: 8713
CVS date: 2007/03/19 16:42:32
|
|
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
|
|
CVS patchset: 7610
CVS date: 2005/06/04 20:32:08
|
|
CVS patchset: 7609
CVS date: 2005/06/04 20:29:16
|
|
CVS patchset: 7604
CVS date: 2005/06/04 12:05:28
|
|
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
|
|
- 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
|
|
BIG NOTE: use helpers to access to these informations (get/set/reset):
_x_{stream,meta}_info_{get,set,reset}()
are for internal use, don't use *_public() ones from inside the beast ;-)
Some wrongly names "xine_" fonction renaming.
CVS patchset: 5757
CVS date: 2003/11/16 23:33:42
|
|
- demuxers should not access stream->demux_thread_running
- remove deprecated get_video_frame/got_video_frame_cb
CVS patchset: 5732
CVS date: 2003/11/15 14:00:35
|
|
CVS patchset: 5721
CVS date: 2003/11/11 18:44:50
|
|
CVS patchset: 5623
CVS date: 2003/10/28 00:10:18
|
|
fft*post are untouched (fft: for now).
CVS patchset: 5310
CVS date: 2003/08/25 21:51:37
|
|
CVS patchset: 5167
CVS date: 2003/07/16 00:52:45
|
|
CVS patchset: 5124
CVS date: 2003/07/03 00:58:51
|
|
CVS patchset: 4525
CVS date: 2003/03/31 19:31:54
|
|
CVS patchset: 4357
CVS date: 2003/03/07 12:51:47
|
|
initializes the demuxer's info from the file
CVS patchset: 4298
CVS date: 2003/02/27 22:26:48
|
|
CVS patchset: 4120
CVS date: 2003/02/08 16:01:09
|
|
CVS patchset: 4031
CVS date: 2003/01/29 03:36:04
|
|
CVS patchset: 3994
CVS date: 2003/01/23 15:10:55
|
|
CVS patchset: 3986
CVS date: 2003/01/22 01:30:05
|