summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-04Fix for CVE-2008-5239Matthias Hopf
xine-lib 1.1.12, and other 1.1.15 and earlier versions, does not properly handle (a) negative and (b) zero values during unspecified read function calls in input_file.c, input_net.c, input_smb.c, and input_http.c, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via vectors such as (1) a file or (2) an HTTP response, which triggers consequences such as out-of-bounds reads and heap-based buffer overflows.
2009-01-04Fix for CVE-2008-5237Matthias Hopf
Multiple integer overflows in xine-lib 1.1.12, and other 1.1.15 and earlier versions, allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via (1) crafted width and height values that are not validated by the mymng_process_header function in demux_mng.c before use in an allocation calculation or (2) crafted current_atom_size and string_size values processed by the parse_reference_atom function in demux_qt.c.
2009-01-04Fix for CVE-2008-5236.Matthias Hopf
Multiple heap-based buffer overflows in xine-lib 1.1.12, and other 1.1.15 and earlier versions, allow remote attackers to execute arbitrary code via vectors related to (1) a crafted EBML element length processed by the parse_block_group function in demux_matroska.c; (2) a certain combination of sps, w, and h values processed by the real_parse_audio_specific_data and demux_real_send_chunk functions in demux_real.c; and (3) an unspecified combination of three values processed by the open_ra_file function in demux_realaudio.c. NOTE: vector 2 reportedly exists because of an incomplete fix in 1.1.15.
2009-01-04Fix for CVE-2008-5234.Matthias Hopf
Multiple heap-based buffer overflows in xine-lib 1.1.12, and other versions before 1.1.15, allow remote attackers to execute arbitrary code via vectors related to (1) a crafted metadata atom size processed by the parse_moov_atom function in demux_qt.c and (2) frame reading in the id3v23_interp_frame function in id3.c. NOTE: as of 20081122, it is possible that vector 1 has not been fixed in 1.1.15. case ( FOURCC_TAG('C', 'O', 'M', 'M') ): _x_meta_info_set_generic(stream, XINE_META_INFO_COMMENT, buf + 1 + 3, id3_encoding[enc]);
2008-11-19Support XINE_GUI_SEND_DRAWABLE_CHANGED in DirectX video driverMatthias Ringwald
On XINE_GUI_SEND_DRAWABLE_CHANGED, the clipping area is adjusted to the new HWND and the frame shown again. This allows to switch the window where the video is shown at runtime, simliar to the X11 drivers.
2008-11-17Fix video out for directx that support YV12 or YUV2Matthias Ringwald
The lPitch setting of the offscreen buffer was not taken into account, which let to a garbled image if the video card driver did support YV12 or YUV2 color formats. This patch fixes bug #72.
2009-01-02Prevent another possible hang on stream stop (demuxer waiting for audio out).Darren Salt
The test stream sometimes causes the ASF demuxer to report "unknown GUID" several times then act as if the headers have been received, with the audio output thread waiting forever for data to be passed to it by the decoder, in this case the ffmpeg audio decoder. This particular hang occurs if playback is stopped before the demuxer has decided that headers have been received (later, and we'd have the problem which the parent cset of this cset fixes); having the demuxer control insert empty audio buffers where it would otherwise wait forever for the audio output thread to receive some data. Test stream: mmsh://213.92.19.8:80/radiodeejay?MSWMExt=.asf
2009-01-02ff_audio_decode_data() doesn't always return if the stream is closed or ↵Lorenzo Desole
playback stopped.
2009-01-01libmms does not handle percent-encoded uriNiels Vorgaard Christensen
libmms will always fail to request media with URIs containing percent-encoded characters. This is because the path component in the MMS URI should be decoded before it is sent to the server. http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-MMSP%5D.pdf (page 48)
2008-12-29Merge.Darren Salt
2008-12-29SIGSEGV in libxine (DVB, SPU)Chris Rankin
2008-12-28Report when defaulting due to the requested Xv port type not being available.Darren Salt
2008-12-28Add support for Xv "blitter" adaptors.Darren Salt
These are known to be present in some nvidia graphics hardware.
2008-12-28Fix up Xv textured video selection for use with drivers for nvidia gfx hw.Darren Salt
These drivers use "NV* Video Texture" instead of "* Textured Video".
2008-12-28Centralise some Xv-related static string array declarations.Darren Salt
2008-12-28Fix xcbxv Xv port fallback (was failing to find an Xv port).Darren Salt
2008-12-20Comment out the unused variables, make sure side effects are preserved though.Diego E. 'Flameeyes' Pettenò
2008-12-20Remove format warning.Diego E. 'Flameeyes' Pettenò
2008-12-20Remove unused variable.Diego E. 'Flameeyes' Pettenò
2008-12-20Fix size of mrls array.Diego E. 'Flameeyes' Pettenò
2008-11-22Add position-based seeking independent from seekpoints.Lorenzo Desole
When it comes to FLAC audio files, seeking relies on seekpoints which are not always present, and even when they are, sometimes it fails. Also, as far as I can see, xine is unable to play a FLAC stream starting at an arbitrary position. Other players (namely mplayer) do not rely on seekpoints when they handle FLAC files and they don't suffer from these problems. With this patch, time-based seeking doesn't change, while position-based seeking is completely independent from seekpoints.
2008-11-22Fix linkage failure caused by the av_free() changes in the ffmpeg decoders.Darren Salt
2008-11-20Memory access fixes:František Dvořák
- goom initialization - matroska playing recent files with AAC - replace free() by ffmpeg's av_free() in ff decoders
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-11-20Fix using of the pointers, leak fixes in configfile.František Dvořák
2008-11-18Fix of the two opened CACA windows in cacaxine (xine-ui).František Dvořák
There is needed some ui<->lib interaction: used caca display is optionally delivered from ui to the caca vo plugin.
2008-11-09Matroska and FLI demuxers warning and valgrind fixesFrantisek Dvorak
2008-11-07Fixed segfault on start when using XINE_PLUGIN_PATH.František Dvořák
2008-11-07Merge.Darren Salt
2008-11-07Recognise H.264 codec with "XiWave" fourcc too.valtri@funny.zcu.cz
2008-11-07some spudvb fixesChristophe Thommeret
This fixes several bugs/incompatibilities in spudvb decoder. You can find various test samples at http://hftom.free.fr/video_samples/ --HG-- extra : transplant_source : %CD%CE%3A%3F%B6%8BN%FD2%5D%DB%9A%AB%AF%C2%E1%2B%1A%B1%23
2008-11-05Simpler code, no gaps during playback in DirectX(2) audio outputmringwal@vs22.inf.ethz.ch
The playback pointer did occasionally overrun the write pointer, which results in audible gaps in playback. To solve this, the slotted ringbuffer was replaced by a simple ringbuffer and the service threads now checks periodically if there is still data in the buffer instead of checking at the slots borders. --HG-- extra : transplant_source : %A1%12%60%B9%E4%AB%E7%7C%D7%D6%BD%7C%C6M%C9%94s%7F%BE%91
2008-10-30Create secondary buffer with correct pixelformatMatthias Ringwald
If neither YV12 nor YUV2 format is supported by DirectX, a secondary buffer with the same pixelformat as the primary buffer is used. However, the pixel format of the primary was not passed to CreateSurface, instead a 16 bit pixelformat was created, which is the reason why the video was broken on 24bit or 32bit desktops. --HG-- extra : transplant_source : %A6-%ADwyY%EE%C8%26%E2%5E%2A%83%0A%0B/%CBM%23%0F
2008-11-07Fix resuming video after corrupted pes.Christophe Thommeret
Without this patch, the video freezes. Available corrupted sample: http://hftom.free.fr/video_samples/corrupted_video.m2t --HG-- extra : transplant_source : %86g%9A%B1%AF%12L%7E%3EN%8C%0FT%D2%D8%3B%7Dv%F0%14
2008-10-19Pass native HWND through xine to SDLMatthias Ringwald
To place SDL output inside an existing window, the SDL_WINDOWID environement variable has to be set. This was done by the SDL video out pluging if HAVE_X11 was defined, but not for WIN32, where it works as well. --HG-- extra : transplant_source : E%169%A2%B4%93%3CY%07%A9%9F%1C%E0%B8-%14m4%A2%11
2008-11-07voraw minor fixChristophe Thommeret
let raw video out plugin handle cropping. --HG-- extra : transplant_source : %F3l%EFUI%28%2C%A0%0C%3E%AD%EA%EC%80%D1%9A%C0/%20%E5
2008-11-07aac channel ordering for multi-channel audioMatthias Dahl
Date: Sun, 28 Sep 2008 20:17:54 +0200 The channel order of aac 5.1 audio is wrong during playback. IIRC, the internal channels order for this kind of streams is the same as dts: dts output is reordered according to alsa specs (and ac3 5.1 also works), but aac is not and - for instance - front center is send to front left. The audio channels configuration table should be something like this ## --------------------- ## | Config: 5.1 Ch | ## ---- ---------------- -------------- -------------- ## | Ch | AAC/DTS | ALSA | AC3 | ## ---- ---------------- --------------- -------------- ## | 00 | Center front | Left front | Left front | ## | 01 | Left front | Right front | Center | ## | 02 | Right front | Left back | Right front | ## | 03 | Left back | Right back | Left back | ## | 04 | Right back | Center | Right back | ## | 05 | LFE | LFE | LFE | ## ---- ---------------- --------------- --------------
2008-11-07Composer meta-tagMaximilian Schwerin
Date: Sat, 28 Jun 2008 17:29:59 +0200 This patch adds this to the FLAC demuxer.
2008-09-17Mingw+MSys: NLS support, --enable-stdcall-fixupCarlo Bramini
It was not possible to compile some parts of XINE-LIB with NLS enabled. It's also a good idea to explicitely enable --enable-stdcall-fixup for solving a huge amount of warnings. Attached patch fixes these problems.
2008-12-27Recognise XV_BICUBIC for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Recognise XV_VSYNC == XV_SYNC_TO_BLANK for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Clean up Xv attribute-setting functions; fix a related off-by-one (xcbxv).Darren Salt
--HG-- extra : transplant_source : %A0%EE%CC%FA%D3%AF2%8B%96%1F%B1%8E%00%01%96%8E%9E%AC%93Y
2008-12-26Don't store immediately-discarded input read() resultsThomas Viehmann
2008-12-20Fix constantness.Diego E. 'Flameeyes' Pettenò
2008-09-13Compilation fixes for ffmpeg API & ABI changes.Darren Salt
--HG-- extra : transplant_source : %A7%3F%40%BA%27%15%89%8B%F8%28%27%E6%EF%B8%22E%F1%AE%F8%D3
2008-09-05Updated FLV demuxer.Claudio Ciccani
- Added support for new formats introduced by Adobe's Video File Format Specification v9 (including H264 and AAC). - Fixed a problem with seeking when movie length is not specified in the headers.
2008-09-03Adding ID3 tag TDRC to replace/complement the deprecated tag TYER.Maximilian Schwerin
2008-10-17Replace configure test for PulseAudio version by cpp testMatthias Ringwald
Version 0.9.6 has PA_PROTOCOL_VERSION 10, version 0.9.7 has 11. This simplifies configure and limits the knowledge about PA versions to the audio output plug-in. This time, the patch includes configure.ac, too.
2008-09-28Fix xine_usec_sleep for mingw+msysMatthias Ringwald
Bug was found and fixed by Carlo Bramini. select() does not work on mingw+msys causing xine_usec_sleep to sleep much longer than requested which completely broke audio playback
2008-08-25Fix CDDB access on 64-bit.Darren Salt