summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_asf.c
AgeCommit message (Collapse)Author
2008-12-31handle read errors/insufficient data when forwarding asf dataMatthias Hopf
do not forward data if there is not enough
2008-08-07Fix a segfault introduced in the Windows Media crash fix.Darren Salt
2008-08-06Fix crashes with fuzzed Windows Media files.Darren Salt
--HG-- extra : transplant_source : %92%2C%CB%01S%25N%22%E1%00%FB%19%B0%CE5%1BU%F9%F6%0A
2008-06-27Add basic aspect ratio detection for WMV streams.Darren Salt
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
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
2008-01-23Sanity-check ASF header sizes.Darren Salt
This fixes a crash in the ASF demuxer, caused by the example exploit file given for CVE-2006-1664.
2008-01-12Don't send BUF_FLAG_FRAME_START twice per frame, otherwise the ffmpeg plugin ↵Thibaut Mattern
skips the first part of the frame. Fixed wmv playback with ffmpeg.
2007-12-24Consistently use "colour", "colour key", "colour space" in output.Darren Salt
Some instances of "key colour" remain; ffmpeg is unmodified. This change has caused two strings with two translations to collide (the strings have become identical since some instances already used "colour"). I have therefore arbitrarily dropped the first of the differing translations, the one for the string at src/video_out/video_out_directfb.c:1365.
2007-11-12Do not mind about ASX playlist version.Claudio Ciccani
Some servers don't set this information, thus the demuxer fails.
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2007-03-09Test presence of alloca.h and include it if present; suggested by a patch ↵Diego 'Flameeyes' Pettenò
from Albert Lee. The check is needed to work on FreeBSD. CVS patchset: 8644 CVS date: 2007/03/09 23:18:19
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
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
2007-01-03Support setting the playback start time over MMS.Claudio Ciccani
CVS patchset: 8485 CVS date: 2007/01/03 15:12:37
2006-12-19Privilege "max_bitrate" over "length" to compute the byterateClaudio Ciccani
(because the file may be truncated). CVS patchset: 8423 CVS date: 2006/12/19 11:15:14
2006-11-29Fix a serious overflow for the asf_header, use an alloca() buffer while ↵Diego 'Flameeyes' Pettenò
reading rather than using a fixed-size buffer. This fixes the crash reported by İsmail Dönmez in WMA files, and prevents possible exploits. Also thanks to Tavis Ormandy for the help handling the problem. CVS patchset: 8393 CVS date: 2006/11/29 21:26:52
2006-11-26Compute the average byterate for time based seeking.Claudio Ciccani
CVS patchset: 8389 CVS date: 2006/11/26 17:03:12
2006-11-21Compute (and return) the actual stream length.Claudio Ciccani
CVS patchset: 8386 CVS date: 2006/11/21 18:26:01
2006-10-07Fixed segfault in demux_asf_dispose().Claudio Ciccani
CVS patchset: 8330 CVS date: 2006/10/07 09:59:49
2006-10-03Fixed crash with debugging on audio/video-only ASF streams,František Dvořák
fixed warnings in AFS demuxer. CVS patchset: 8329 CVS date: 2006/10/03 07:30:51
2006-09-24Before using audio_stream and video_stream indexes, check if they are set.Diego 'Flameeyes' Pettenò
This fixes crash on streams with no audio (bug #1564598). CVS patchset: 8274 CVS date: 2006/09/24 16:29:10
2006-09-15Fixed potential memory corruption.Thibaut Mattern
Thanks to valgrind ;-) CVS patchset: 8262 CVS date: 2006/09/15 21:52:19
2006-09-07Added common asf header parser.Thibaut Mattern
Modified the mms input plugins and the asf demuxer to use the new parser. Added Asf Extended Header parsing, fixed best stream selection. CVS patchset: 8203 CVS date: 2006/09/07 07:21:06
2006-08-08video/x-ms-wma -> audio/x-ms-wmaMiguel Freitas
CVS patchset: 8168 CVS date: 2006/08/08 03:34:15
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(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
2006-06-20Make buffer a char string, reduces amount of warnings tremendously.Diego 'Flameeyes' Pettenò
CVS patchset: 8066 CVS date: 2006/06/20 01:49:20
2006-06-18Fix comparison of unsigned lesser than zero, STARTTIME and DURATION won't be ↵Diego 'Flameeyes' Pettenò
ignored anymore. CVS patchset: 8052 CVS date: 2006/06/18 19:36:47
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-03-06Fixed possible FPE.Thibaut Mattern
patch from Vedran Rodic <vedran@vodatel.hr> and Diego "Flameeyes" Pettenò <flameeyes@gentoo.org> CVS patchset: 7921 CVS date: 2006/03/06 08:02:44
2005-11-14*BUGFIX*František Dvořák
Testsuite for M$ Windows: - init mutex in all video drivers ('none' for testsuite, fixes crashes), was OK for linux pthreads - use WaitForSingleObject for console file descriptirs in _x_io_select (fixes stdin:/) - workaround heavy debug messages in asf demuxer for some samples (fixes full disk :->) Fixed previous fix, s/gmtime/timgm/ :-) Aalib cross detection + udate docs CVS patchset: 7799 CVS date: 2005/11/14 12:34:45
2005-07-18Fix a couple of small errors in my MRL reference / ASX parsing update.Darren Salt
CVS patchset: 7658 CVS date: 2005/07/18 01:28:21
2005-07-17Improve ASX parsing.Darren Salt
Add an extended MRL reference event which includes the item title, start time and duration. (Both events are sent; front ends should only listen for one of them.) CVS patchset: 7656 CVS date: 2005/07/17 23:11:33
2005-06-09Added palette handling.Thibaut Mattern
Fixed playback of the stream: http://naboo.homelinux.org/~tmattern/samples/asf/msadpcm/dance-b5th.asf CVS patchset: 7618 CVS date: 2005/06/09 20:33:46
2005-02-06Added node_plugin_t pointer to the demux struct.Thibaut Mattern
Incremented demux API version. This is needed to unload plugins. CVS patchset: 7385 CVS date: 2005/02/06 15:26:00
2005-01-12Fix various mmsh/mmst bugs.Thibaut Mattern
Improve chained stream detection (do not trust stream packet count). This fix the bug https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1098044&group_id=9655 mmsh://secure4.jumptv.com/Preview1_hi mmst://secure4.jumptv.com/Preview1_hi CVS patchset: 7339 CVS date: 2005/01/12 00:05:36
2004-12-24- AVI: set audio and video codecs on open, overridden by the decodersBastien Nocera
- ASF: same as above, as well as the video dimensions CVS patchset: 7298 CVS date: 2004/12/24 17:43:36
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
2004-12-17Fix header buffer leak with chained streams.Thibaut Mattern
CVS patchset: 7271 CVS date: 2004/12/17 21:56:16
2004-12-14Don't spam the frontend with "stream encrypted" messages.Thibaut Mattern
CVS patchset: 7256 CVS date: 2004/12/14 22:55:06
2004-11-01Fixed packet seq handling.Thibaut Mattern
Fixed bug reported by Daniel (http://naboo.homelinux.org/~daniel/samples/TimsTraySlide.asf). CVS patchset: 7099 CVS date: 2004/11/01 15:53:52
2004-09-02Warnings on WIN32.František Dvořák
Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
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
2004-05-30Don't send a DISC at each unexpected packet sequence.Thibaut Mattern
Fix bug http://sourceforge.net/tracker/index.php?func=detail&aid=956710&group_id=9655&atid=109655 CVS patchset: 6610 CVS date: 2004/05/30 14:38:02
2004-05-16Priority support.Thibaut Mattern
0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26
2004-05-02Fix decoder init.Thibaut Mattern
CVS patchset: 6472 CVS date: 2004/05/02 12:32:11
2004-04-24Remove the framerate hack.Thibaut Mattern
The engine handles frame->duration=0 now ;) CVS patchset: 6430 CVS date: 2004/04/24 13:56:40