summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_faad.c
Commit message (Collapse)AuthorAgeFilesLines
* Use malloc for codecdata. Fixes segfault in free_sh_sub.eugeni2008-01-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix all current known multi-channel wrong order problems by addingulion2007-12-101-0/+9
| | | | | | | | | | | common functions for channel reordering. This fixes these modules by adding channel reordering code for 5.0/5.1 audio: ao: pcm ad: dmo, faad, ffmpeg(ac3, dca, libfaad, liba52), pcm ae: faac, lavc(ac3, libfaac), pcm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.diego2007-08-241-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move extern int audio_output_channels; to ad_internal.hreimar2007-07-301-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
* in case of errors after decoding quit the main decoding nicodvb2006-09-271-0/+4
| | | | | | | | loop before memmove() when sh_audio->in_buffer_len <= 0; patch by Chandan Pitta chandan.pitta gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20001 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Rename some variables for consistency.diego2006-08-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.diego2006-06-211-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes the infinite loop which occurs when there is a decode error in a frame.gpoirier2006-06-081-3/+5
| | | | | | | | | | | Patch by Bryan Alton < balton AH eircom POIS net > Original thread: Date: Jun 6, 2006 10:52 AM Subject: [MPlayer-dev-eng] [PATCH] fix for faad2 infinite loop after decoding error git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18645 b3059339-0415-0410-9bf9-f77b7e298cf2
* 4 - Implement a better way to calculate current audio pts and use it forrtognimp2006-04-241-1/+7
| | | | | | | | | audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad. Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* * really keep track on how many samples were decoded last round (fix 10l)attila2005-09-011-4/+7
| | | | | | | | * leave loop if more than 10 faad errors were detected since the last call of decode_audio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16338 b3059339-0415-0410-9bf9-f77b7e298cf2
* stop trying to decode faad audio, when last decoded length is <0attila2005-09-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16337 b3059339-0415-0410-9bf9-f77b7e298cf2
* memcpy and memmove both copy memory, but when using memcpy the source and ↵gpoirier2005-07-151-1/+1
| | | | | | | | | destination must not overlap, but here, they did overlap. Committed with the kind blessing of Richard, patch by uau git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15979 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong binary mask: it precluded the syncword of adts-4 from being ↵nicodvb2005-06-121-1/+1
| | | | | | recognized as valid git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15709 b3059339-0415-0410-9bf9-f77b7e298cf2
* step 1 of fixing ad_faad:rfelker2005-03-291-1/+10
| | | | | | | | | | | | | use internal downmixing just like liba52 does if the output is <= 2 channels actually this is broken since it makes it impossible to manually use af_pan; however liba52 already has that limitation, and without this patch, aac audio comes out TOTALLY wrong on 2-channel systems. hopefully someone will find a better solution later. next up: making ad_faad reorder the channels according to what mplayer expects, so they won't all come out the wrong speakers... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15020 b3059339-0415-0410-9bf9-f77b7e298cf2
* makes --enable-*-faad really enable without any further check and drop ↵aurel2005-02-031-13/+0
| | | | | | support for old external faad2 versions (<= 1.1) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14639 b3059339-0415-0410-9bf9-f77b7e298cf2
* tries to sync to ADTS/ADIF header before initializing the decoder; implement ↵nicodvb2005-01-211-3/+51
| | | | | | SYNC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14565 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting samplesize to 2 in decoders where neccessary.reimar2004-09-211-1/+2
| | | | | | | | Needed because initialization of sh_audio was moved from dec_audio to demuxer.c, and some demuxers set samplesize incorrect or to 0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13428 b3059339-0415-0410-9bf9-f77b7e298cf2
* output faad error message in case of a decoder errorreimar2004-09-111-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13308 b3059339-0415-0410-9bf9-f77b7e298cf2
* If demuxer does not fill codecdata try to get if from waveformatexrtognimp2004-05-141-0/+5
| | | | | | | (fixes audio format 0xff) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12474 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for HE-AAC. Patch by Loren Merritt <lorenm at u dot washington ↵mosu2004-04-011-1/+1
| | | | | | anotherdot edu>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12096 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l really disable faad if gcc is brokenfaust32003-09-211-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10922 b3059339-0415-0410-9bf9-f77b7e298cf2
* use internal (included) libfaad2arpi2003-08-301-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10727 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2 v1.0, v1.1, v1.2 detection, and API change workaround in ad_faad.carpi2003-02-071-0/+14
| | | | | | | based on patch by Andre Schulz <andre@0wnage.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9322 b3059339-0415-0410-9bf9-f77b7e298cf2
* I think libfaad2 changed recently. The functions faacDecInit() andarpi2002-10-071-1/+2
| | | | | | | | | faacDecInit2() now return the number of channels through a pointer to char (was: pointer to long). patch by Uwe.Reder@3SOFT.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7649 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/commentsarpi2002-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7192 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-1/+0
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync driver names with codec-cfgarpi2002-08-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7175 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for packetized aac streams (used in .mp4 files)arpi2002-08-041-6/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6895 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio input buffer allocation/free cleanuparpi2002-04-011-10/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't kill me, pure indent change as I forgot to reindent when copy and ↵atmos42002-03-261-47/+46
| | | | | | pasting from dec_audio.c, as this is the first revision it doesn't break changelog! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved ↵atmos42002-03-261-0/+204
buffering scheme. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5357 b3059339-0415-0410-9bf9-f77b7e298cf2