summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-26calculate AIFF files samplerate from 80-bit float, fixes wrong playback of ↵Kirill Belokurov
some AIFF files
2008-03-28fix overreading from input buffer and report lost bytes in lpcm decoderKirill Belokurov
2008-03-27take into account CPU endianness when converting 24bit=>16bit samplesKirill Belokurov
2008-03-28AIFF comment chunks are word-aligned, so we should seek extra byte for themKirill Belokurov
2008-03-27read only full frames into buffer - otherwise decoder will lose trailing ↵Kirill Belokurov
bytes for 24bit AIFF
2008-03-28More checking for memory allocation failures.Darren Salt
2008-03-26Be more careful with malloc(x+1), particularly on 32-bit.Darren Salt
2008-03-23Replace various malloc(x*sizeof(y)) with calloc(x,sizeof(y)).Darren Salt
2008-03-23Check for failure of various memory allocations. (SA29484)Darren Salt
Ref. http://aluigi.altervista.org/adv/xinehof-adv.txt
2008-03-24WAV demuxer: search for the 'fmt ' chunk instead of assuming it's the first oneKirill Belokurov
(fixes playback of some files) --HG-- extra : transplant_source : %F0N%EC%A4v%94%CA%1F%05%E3%E2%AC%5D8-%18c%AD%B1%E4
2008-03-11Fix Array Indexing Vulnerability in sdpplin_parse(). (CVE-2008-0073).Diego 'Flameeyes' Pettenò
Thanks to Alin Rad Pop, Secunia Research.
2008-03-19Fix ffmpeg plugin build where source dir != build dir.Darren Salt
2008-03-18Move ffmpeg plugin code into src/combined/ffmpeg & adapt for current ffmpeg.Darren Salt
The source remains compilable with older ffmpeg, whether internal or external. --HG-- rename : src/libffmpeg/Makefile.am => src/combined/ffmpeg/Makefile.am rename : src/libffmpeg/ff_audio_decoder.c => src/combined/ffmpeg/ff_audio_decoder.c rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_mpeg_parser.c => src/combined/ffmpeg/ff_mpeg_parser.c rename : src/libffmpeg/ff_mpeg_parser.h => src/combined/ffmpeg/ff_mpeg_parser.h rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_decoder.c => src/combined/ffmpeg/ffmpeg_decoder.c rename : src/libffmpeg/ffmpeg_decoder.h => src/combined/ffmpeg/ffmpeg_decoder.h rename : src/libffmpeg/ffmpeg_encoder.c => src/combined/ffmpeg/ffmpeg_encoder.c
2008-03-02libdvdread - Uses UDF provided length as authoritativeBastian Blank
libdvdread uses the file length provided by the UDF fs of the title set IFO files authoritative. I got a DVD which have parts of this file mapped outside of the provided file size and according to my memory only the offsets in the files matters in the standard. This patch adjusts the internal knowledge of the filesize accordingly and at least allows mplayer to play the dvd. (Imported from Debian libdvdread 0.9.7-8)
2008-03-17Allow CR & LF termination of XML element names.Darren Salt
2008-03-14xine_init(): mutex objs not initializedCarlo Bramini
The problem comes from the fact that into xine_probe_fast_memcpy() there is a call to xprintf, which excutes some actions to this->log_lock. But the "log_lock" field is still uninitialized. Under Windows, the xine_init() always crashes because that type is implemented as a structure, so the lock receives a NULL pointer and the execution is halted. The attached patch proposes to move the mutex objects to the top of xine_init() function. --HG-- extra : transplant_source : %07%1D%7F%F0%97%7D%06%3E%9F%2Ar%03%1DQ%14%F3%D1%EF%1D%93
2008-03-14Unportable pthread_t compare in xine.cCarlo Bramini
With Pthreads for Win32/Win64 I cannot compare two pthread_t items because they are implemented as structures. This patch fixes the comparison by using pthread_equal() function. --HG-- extra : transplant_source : %9D%98%CE%83%5E%BD%A9u%11%C7%3BmP%28%EBH%D0%B6I%DF
2008-03-12Cope with NetBSD, which apparently doesn't have SNDCTL_DSP_GETODELAY.Darren Salt
(Fall back on SNDCTL_DSP_GETOPTR.)
2008-03-12Tidy up ffmpeg includes a bit.Darren Salt
-Ilibavcodec is wrong when build dir != source dir or with external ffmpeg.
2008-03-11Use calloc() to avoid possible integer overflow if stream_count is big enough.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %90%CC%97%8Fk%C1%FD%9C%A4%FB%0C%9E%07%F5A%B8%29o%EEo
2008-03-10Fixed long delay when closing stream on dual core systems [Bug #33]Miguel Freitas
2008-03-10Support # stream parameter separator in raw filenames as well as in full MRLs.Miguel Freitas
Changeset 8ffe18290ba5 fixed bug 1784272 (opening raw filenames with # character, like "show #1.mpg") but at the cost of killing # separator in raw filenames completely. Although this might be a valid requirement in a new devel branch, imho, such change in stable branch should be considered a regression. The original idea of passing partial MRL for the input plugins to try doesn't work because plugin will generate error messages for every failed attempt to open the file (like "show " above), even thought the complete MRL is valid and will be played. So, since raw filenames are an exception for the MRL scheme anyway, we try stat'ing the partial filenames to determine what user means with the #.
2008-03-07Get rid of some "may be used uninitialised" warnings.Darren Salt
2008-03-06CVS broken with built-in ffmpegChris Rankin
I can no longer build libxine from CVS, unless I apply this patch. I do not have ffmpeg installed, and so am using the built-in ffmpeg instead (I think). --HG-- extra : transplant_source : %96v8%CE%21%82%CCh%0A%83%0C%BC%C5%91F%89W%E4%B8%AE
2008-03-06Fix _x_get_current_frame_impl() to not abort when used legally.Reinhard Nißl
Retrieving frame size and format is a legal operation even for otherwise not supported frame formats like XXMC.
2008-03-02Provide safe and convenient implementations of xine_get_current_frame().Reinhard Nißl
xine_get_current_frame() relies on the caller to provide a sufficiently sized buffer. To calculate the required size of the buffer, one has to call xine_get_current_frame() to retrieve the necessary parameters. But as the image can change between two successive calls one has to pause the stream for consistency. To improve the situation, xine_get_current_frame_s() has been introduced which requires to specify the buffer size when an image is going to be retrieved. Furthermore, it will return the required/used buffer size. In that way, it can prevent copying data into a too small buffer and therefore can be considered safe. For convenience, xine_get_current_frame_alloc() is provided which takes care to allocate a sufficiently sized buffer. This function avoids pausing the stream as the image will be returned in a single call.
2008-03-02Push out current frame when seeing the sequence end code 0xb7.Reinhard Nißl
2008-03-02Reorganise DTS audio type detection (ready for LE16 & BE14); changelog entry.Darren Salt
2008-02-29Added check if DTS data with IEC958 header will fit into frames samples size ↵Kirill Belokurov
and send it without IEC958 header otherwise - so the receivers can autodetect the raw DTS stream. --HG-- extra : transplant_source : %7C%02Vm-%DF%B4%CD%8B%B9U3%A7%B9%EDT%3CZ%91%81
2008-02-22added patch for 16bit big endian DTS detectionKirill Belokurov
--HG-- extra : transplant_source : %5C%D4ln%1C%B8Up%88%96R%09%1A%05HQ%3C%F8%CE%08
2008-03-02Fix compilation with older external ffmpeg.Darren Salt
HAVE_FFMPEG_AVUTIL_H wasn't being defined, and there were some incorrect checks.
2008-03-02Backport the MANGLE macro handling from 1.2-libavutil branch (and adapt).Diego 'Flameeyes' Pettenò
2008-03-01Support the new FFmpeg include layout. Now the same include directive should ↵Reinhard Nißl
work for both internal and external FFmpeg (with new layout).
2008-03-01Support the new FFmpeg include layout. Now the same include directive should ↵Diego 'Flameeyes' Pettenò
work for both internal and external FFmpeg (with new layout).
2008-02-20Off-by-one in the FLAC security fix, breaking playback of some files.Darren Salt
2008-02-18Timecode diff is signed.Thibaut Mattern
Should fix bug 35. --HG-- extra : transplant_source : %DD%95%9F%A7%8D%01%BD%98%40%E4R%AAW%F2%ED%93%B2%DE%1A%E9
2008-02-18merge backoutThibaut Mattern
2008-02-18merge backoutThibaut Mattern
2008-02-18Backed out changeset 698d30889b29Thibaut Mattern
id3v2_istag has not the same signature in 1.1 and 1.2.
2008-02-17nvidia driver uses XV_SYNC_TO_VBLANK attribute, not XV_DOUBLE_BUFFER as xine ↵Miguel Freitas
expected. add code to set this attribute from xine and mention nvidia-settings, since the user may need to select a sync device as well.
2008-02-16Take in account the size of the extended header.Thibaut Mattern
--HG-- extra : transplant_source : %C0%D71D1%8CQ%889P%21%20%D7%F7%B5%F2T%FE%88%FA
2008-02-15Fixed endianess problem.Thibaut Mattern
This should allow big ID3v2 tag to be parsed (i mean tags with embedded pictures). (transplanted from ebb0d5507d3208f8e73af78f912230719d37830a) --HG-- extra : transplant_source : %EB%B0%D5P%7D2%08%F8%E7%3A%F7%8F%91%220q%9D7%83%0A
2008-02-15Don't unlock unconditionally the mainloop on failure.Diego 'Flameeyes' Pettenò
2008-01-25Advertise audio/x-wavpack mime type for WavPack demuxer.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : iT%08m0%F6%E0%8B-%24%1F%BC%EB%24%25.%C0p%E2%14
2008-02-14Fixed mp3 sniff code.Thibaut Mattern
Fixed bug 4 sample playback (nilbymouthclapton.112.mp3). (transplanted from 4843103240d4fc85d31bd210194a98c1e1bdbd7a) --HG-- extra : transplant_source : HC%102%40%D4%FC%85%D3%1B%D2%10%19J%98%C1%E1%BD%BDz
2008-02-12Avoid possible excess linkage in the tvtime plugin.Darren Salt
Its convenience lib needs $(XINE_LIB) but it gets that when it's linked into the shared lib.
2008-02-09Remove some unnecessary tests (which the compiler would discard).Darren Salt
2008-02-08Avoid a build failure (affects gcc 4.0 on x86_32).Darren Salt
2008-02-07Merge; mark 1.1.11.Darren Salt
2008-02-07Improve detection of MP3 streams with ID3v2 tags. Don't trust the tag size.Thibaut Mattern