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 : %9F%E8R%D8%94R%9CJ%7F%5E%A7%DB%29%0DK%CD%CA%AD%7F%08
|
|
Use memcmp over the signature rather than checking byte by byte.
--HG--
extra : transplant_source : %B3%8B%EE%85%B9%11%B0%10po%D9%17%CD%034%FC%F5%90%95%92
|
|
Instead of using a 1KB buffer to copy over the Content-Type header
value to compare it, get a (pointer, length) pair and use that for
comparison.
This should also allow the compiler to inline the
decode_anxdata_header() function.
--HG--
extra : transplant_source : W%EE%5CN%BD%B8%8C%FA%CD%15p%CD%A5%CBQ%1E%893%97S
|
|
In update_chapter_display() the t_title array, declared on the buffer,
is used after it has disappeared from the scope. Instead of doing
that, use directly the xine_ui_data_t array.
Declare xine_event_t and xine_ui_data_t with their values directly,
makes it more explicit that everything disappears at the end of the
function.
--HG--
extra : transplant_source : %25T%10eEd%CF%ECS%AC%A3%E3%E0%D3J%F6%A5%15%9EE
|
|
If needed, use calloc() to allocate the area so that it's already
reset by the time it returns.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(transplanted from 6d9f36be48839984c3888f3d803319942c4d76e6)
--HG--
extra : transplant_source : E%81r%E5-%5B%C2%21%15h%E3_%CB%23%25%9B%01l%03Y
|
|
|
|
|
|
DEMUX_FINISHED from send_header
|
|
--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.
|
|
CVS patchset: 8773
CVS date: 2007/03/29 19:38:51
|
|
CVS patchset: 8608
CVS date: 2007/02/20 00:34:55
|
|
language & subtitle strings (given a buffer of >= XINE_LANG_MAX bytes).
Also fixes an off-by-one buffer termination in the TS code.
(Note: compile-tested only.)
CVS patchset: 8592
CVS date: 2007/02/08 02:40:22
|
|
things like "(null) / Chapter 1" when the title isn't available (and
a possible crasher on non-Linux platforms)
CVS patchset: 8547
CVS date: 2007/01/23 23:20:23
|
|
Use a more generic description for application/(x-)ogg mimetype (i.e. "Ogg Stream").
CVS patchset: 8542
CVS date: 2007/01/22 17:33:35
|
|
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
|
|
than handled. Thanks to Bastien Nocera in bug #1577272.
CVS patchset: 8367
CVS date: 2006/11/10 14:53:23
|
|
can consider the decoder plugin missing.
CVS patchset: 8365
CVS date: 2006/11/10 01:00:35
|
|
play). Add a flacutils.h header with functions to parse FLAC data structure, to be shared with demux_flac. Closes bug #1590690.
CVS patchset: 8362
CVS date: 2006/11/09 15:13:19
|
|
every time, to simplify configure checks.
CVS patchset: 8243
CVS date: 2006/09/14 02:04:48
|
|
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway.
CVS patchset: 8101
CVS date: 2006/07/10 22:08:12
|
|
CVS patchset: 8009
CVS date: 2006/06/02 22:18:56
|
|
(Diego Pettenò)
CVS patchset: 7985
CVS date: 2006/05/03 19:46:06
|
|
CVS patchset: 7508
CVS date: 2005/04/27 17:56:07
|
|
the theora and cmml get_pts() calculations.
CVS patchset: 7415
CVS date: 2005/02/14 06:25:59
|
|
headers, and also add support for CMML granuleshift
CVS patchset: 7414
CVS date: 2005/02/14 05:56:56
|
|
Incremented demux API version.
This is needed to unload plugins.
CVS patchset: 7385
CVS date: 2005/02/06 15:26:00
|
|
CVS patchset: 7292
CVS date: 2004/12/21 05:30:40
|
|
CVS patchset: 7270
CVS date: 2004/12/17 20:48:39
|
|
Test stream:
http://ogg.smgradio.com/vr96.ogg
Should fix problems reported with ogg/vorbis radios.
CVS patchset: 7266
CVS date: 2004/12/17 00:21:38
|
|
CVS patchset: 7230
CVS date: 2004/12/12 06:55:58
|
|
CVS patchset: 7188
CVS date: 2004/12/03 04:11:42
|
|
media files
CVS patchset: 6951
CVS date: 2004/09/09 06:29:20
|
|
Rename LOG_* to DEBUG_*
Use llprintf instead of "#ifdef ... lprintf ... #endif" (thanks to Michael and
Thibaut for the heads-up about this)
CVS patchset: 6928
CVS date: 2004/09/01 18:32:53
|
|
CVS patchset: 6923
CVS date: 2004/09/01 00:09:13
|
|
libspeex-1.1.x:
- Retain compatability for <speex.h> etc. from libspeex-1.0.x
- Also try speex via pkg-config, and fall back to old AM_PATH_SPEEX
CVS patchset: 6920
CVS date: 2004/08/30 12:33:07
|
|
CVS patchset: 6847
CVS date: 2004/07/25 17:08:07
|
|
James Slorach for spotting the bug
CVS patchset: 6784
CVS date: 2004/07/10 14:08:49
|
|
Scan for "Annodex" header signature in Annodex demuxer
Fixed some serious bugs in detect_content at the same time :)
CVS patchset: 6783
CVS date: 2004/07/10 10:06:30
|
|
Tiny bugfix for detecting theora streams (was looking for "theo" packet
signature due to short memcmp, now looks for "theora")
Moved content detection from open_plugin function to new detect_content function
Added new plugin to demux Annodex version 2.0 bitstream format, a subset of
the Ogg encapsulation format. For more info, see:
http://www.annodex.net/TR/draft-pfeiffer-annodex-01.html
CVS patchset: 6781
CVS date: 2004/07/09 01:27:42
|