summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_faad.c
Commit message (Collapse)AuthorAgeFilesLines
* libmpcodecs: remove redundant audio and video decoderswm42012-08-201-324/+0
| | | | | | | | Probably all of these are supported by libavcodec. Missing things can be added back. Also remove qtpalette.h. It was used by demux_mov.c, and should have been deleted with commit 1fde09db6f4ce.
* ad_faad: include neaacdec.h instead of faad.hwm42012-07-281-1/+1
| | | | | The faad.h header printed a warning that this header is outdated. The header neaacdec.h is probably the proper header, so use that.
* libfaad2:/ Remove forked internal libfaad2 copydiego2011-01-311-32/+1
| | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32741 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove AAC/FAAD2 installation instructions. There is nothing special about building and installing FAAD2, so there is no longer a need to keep maintaining instructions for it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32742 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_faad: fix crash when used on an empty audio streamreimar2010-12-161-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32706 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_faad: Make work with -demuxer lavfreimar2010-11-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32586 b3059339-0415-0410-9bf9-f77b7e298cf2
* options: move audio_output_channels, audio_output_format to structUoti Urpala2010-11-021-3/+7
|
* ad_faad: fix compilation using external libfaadattila2010-11-021-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31603 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_faad: Improve LATM recognitioncehoyos2010-11-021-2/+24
| | | | | | Patch by Dan Oscarsson, Dan d Oscarsson a tieto d com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30643Uoti Urpala2010-03-101-2/+0
|\
| * libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-171-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-121-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
* | ad_faad: move message "input bitrate missing" to MSGL_VUoti Urpala2010-01-311-1/+1
| | | | | | | | | | | | The input bitrate isn't needed for anything in normal playback, so there is no reason to print a warning message for practically all files using the decoder.
* | Merge svn changes up to r29912Uoti Urpala2009-11-161-2/+3
|\|
| * Add support for 8 channel audio.tack2009-11-101-2/+3
| | | | | | | | | | | | | | | | Where 8 channel support is non-trivial (e.g. ao_dsound), at least ensure we fail gracefully. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29868 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-12/+12
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-11/+11
| |
* | Merge svn changes up to r28149Uoti Urpala2008-12-141-4/+20
|\|
| * license header consistency cosmeticsdiego2008-12-131-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28144 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Replace informal GPL notes by standard GPL header.diego2008-12-131-4/+20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27374Uoti Urpala2008-07-301-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h cfg-mplayer.h command.c configure libmpcodecs/dec_video.c libmpcodecs/vd.c libmpcodecs/vf_vo.c libmpdemux/demuxer.h libmpdemux/stheader.h mp_core.h mplayer.c stream/stream_radio.c
| * Start unifying names of internal preprocessor directives.diego2008-07-301-1/+1
| | | | | | | | | | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make audio decoder description structs constUoti Urpala2008-04-261-1/+1
|/ | | | | | Make the per-decoder struct ad_functions and its ->info struct constants. Same for the mpcodecs_ad_drivers[] table of pointers to those structs.
* 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