summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_nsf.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-12-31handle read errors when forwarding in multiple demuxersMatthias Hopf
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.
2008-07-04Use memcmp() instead of manual comparison of bytes when checking signatures.Diego 'Flameeyes' Pettenò
When it make sense, use _x_is_fourcc() too. --HG-- extra : transplant_source : %A7%AA%1D%B1%EE3%BF%2C%BCn%2B%3Dt%2Bi%E6%80%8ERm
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
2007-06-13Use strndup rather than just strdup to avoid overflows.Diego 'Flameeyes' Pettenò
(transplanted from 47f7f33b32805da6e8f58513c38e01dc6a595fb8) --HG-- extra : transplant_source : G%F7%F3%3B2%80%5D%A6%E8%F5%85%13%C3%8E%01%DCjY_%B8
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-03-29Reorder fields to remove a 4+4 bytes holes.Diego 'Flameeyes' Pettenò
CVS patchset: 8761 CVS date: 2007/03/29 17:03:06
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
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-01-09- rework semantics of some buffer flags. check buffer.h for details.Miguel Freitas
- 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
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
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
2003-11-15change demux api:Miguel Freitas
- 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
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-30use info_helper functions.Thibaut Mattern
CVS patchset: 5638 CVS date: 2003/10/30 00:49:07
2003-08-25Reduce GCC verbosity (various prototype declaration fixes). ffmpeg, wine and ↵Daniel Caujolle-Bert
fft*post are untouched (fft: for now). CVS patchset: 5310 CVS date: 2003/08/25 21:51:37
2003-07-16more cleanup; remove unused variables; use lprintfMarco Zuehlke
CVS patchset: 5167 CVS date: 2003/07/16 00:52:45
2003-04-26bumping up demux plugin interface version numbers, update copyright noticesGuenter Bartsch
CVS patchset: 4691 CVS date: 2003/04/26 20:15:52
2003-04-02clean up some unused variablesMike Melanson
CVS patchset: 4531 CVS date: 2003/04/02 03:20:40
2003-03-07more work on console output cleanupGuenter Bartsch
CVS patchset: 4357 CVS date: 2003/03/07 12:51:47
2003-02-22Fix memory leaksEwald Snel
CVS patchset: 4246 CVS date: 2003/02/22 14:06:47
2003-01-26no need for <pthread.h> or <sched.h>Mike Melanson
CVS patchset: 4009 CVS date: 2003/01/26 15:56:21
2003-01-18always fill in title during send_headers()Mike Melanson
CVS patchset: 3952 CVS date: 2003/01/18 14:57:50
2003-01-17fix seekingMike Melanson
CVS patchset: 3940 CVS date: 2003/01/17 02:53:51
2003-01-10have length in miliseconds tooMiguel Freitas
fix some intermediate calculation CVS patchset: 3856 CVS date: 2003/01/10 21:10:50
2003-01-10internal input_time is miliseconds nowMiguel Freitas
CVS patchset: 3851 CVS date: 2003/01/10 11:57:15
2003-01-09reset the time after seeking; clarify the copright fieldMike Melanson
CVS patchset: 3843 CVS date: 2003/01/09 04:23:14
2003-01-08get it right this time?Mike Melanson
CVS patchset: 3823 CVS date: 2003/01/08 06:59:48
2003-01-08get the revision ID in there (?)Mike Melanson
CVS patchset: 3822 CVS date: 2003/01/08 06:59:16
2003-01-08added NSF file demuxerMike Melanson
CVS patchset: 3821 CVS date: 2003/01/08 06:57:54