summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_aac.c
AgeCommit message (Collapse)Author
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 the new _x_is_fourcc() function and also memcmp().Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F8H%5B%D0%15z%0E%22%CC.%84%E6%ADA/%FF%0F%81%BCS
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-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-05-29Actually id3v2_tagsize was used by demux_mpgaudio and demux_aac; but as it ↵Diego 'Flameeyes' Pettenò
makes little sense, move BE_*_synchsafe functions from id3.c to id3.h and declare them inline, then BE_32_synchsafe can be replaced to id3v2_tagsize as drop in.
2007-03-03Add two extra functions (inline as they are just a return statement) that ↵Diego 'Flameeyes' Pettenò
checks if a preamble is of an ID3v2 tag, and that calculate the size of the tag (to avoid repeating the same code over and over and over; the size of the shared object is reduced. Also make demux_flac use the id3.c functions to parse the eventual ID3 header. CVS patchset: 8637 CVS date: 2007/03/03 01:41:16
2007-03-03Add a function to parse a generic ID3v2 tag, and make both demux_aac and ↵Diego 'Flameeyes' Pettenò
demux_mpgaudio use it without repeating the same code. CVS patchset: 8636 CVS date: 2007/03/03 00:58:52
2007-03-03Instead of blindly ignoring the ID3v2 tags, try to parse them. The switch ↵Diego 'Flameeyes' Pettenò
block is repetitive as almost the same is implemented in demux_mpgaudio, so I'll work on that now. CVS patchset: 8635 CVS date: 2007/03/03 00:33:51
2007-03-02Fixed content type detection for AAC (seekable) streams with ID3v2 tags ↵Diego 'Flameeyes' Pettenò
prefixed clobbering the preview buffer, by skipping over the tag. CVS patchset: 8632 CVS date: 2007/03/02 20:07:33
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
2006-11-14Make the misdetection of audio data as AAC less likely.Darren Salt
(Should fix playback of some MP3 files, at least.) CVS patchset: 8379 CVS date: 2006/11/14 21:51:32
2006-03-11Very little cleanup.Thibaut Mattern
CVS patchset: 7926 CVS date: 2006/03/11 09:21:25
2005-06-04Estimate input time from bitrateJames Stembridge
CVS patchset: 7605 CVS date: 2005/06/04 13:49:25
2005-06-04AAC frame can't have zero lengthJames Stembridge
CVS patchset: 7602 CVS date: 2005/06/04 10:59:36
2005-05-30No need to guess parameters, faad will read them from ADTS/ADIF headerJames Stembridge
CVS patchset: 7596 CVS date: 2005/05/30 12:08:49
2005-05-21Update descriptionJames Stembridge
CVS patchset: 7554 CVS date: 2005/05/21 14:13:04
2005-05-21Detection by content for AAC.James Stembridge
CVS patchset: 7552 CVS date: 2005/05/21 09:50:32
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-03-22another memleakDaniel Caujolle-Bert
CVS patchset: 6298 CVS date: 2004/03/22 00:12:57
2004-03-21memleakDaniel Caujolle-Bert
CVS patchset: 6295 CVS date: 2004/03/21 23:13:59
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-12-19initial commit for raw AAC file demuxerMike Melanson
CVS patchset: 5923 CVS date: 2003/12/19 05:09:16