log libmpdemux/demux_audio.c @ 34764:9e81d9667789

age author description
Mon, 13 Feb 2012 19:36:01 +0000 reimar Detect ID3v2 tag at the end of the file and stop demuxing before
Mon, 13 Feb 2012 19:33:48 +0000 reimar Minor simplification.
Fri, 11 Nov 2011 17:29:14 +0000 reimar Make WAV format detection more restrictive so it does not incorrectly
Thu, 27 Oct 2011 20:09:09 +0000 ib Fix wrong runtime and average bitrate for VBR (variable bitrate) MP3.
Thu, 27 Oct 2011 19:58:42 +0000 ib Ensure that demuxer->movi_end will be set.
Wed, 08 Dec 2010 22:53:52 +0000 reimar Do not generate nonsensical pts values for FLAC audio.
Wed, 08 Dec 2010 19:43:51 +0000 reimar Add support for FLAC audio parsing, fixes playback time jumping
Mon, 29 Nov 2010 18:56:21 +0000 reimar Set needs_parsing to 1 for DTS audio.
Sun, 21 Nov 2010 12:25:01 +0000 reimar Fix WAVEFORMATEXTENSIBLE condition.
Sun, 21 Nov 2010 12:20:22 +0000 reimar Fix WAVEFORMATEXTENSIBLE support on big-endian.
Sun, 14 Nov 2010 09:12:34 +0000 cboesch Remove most of the NULL pointer check before free all over the code
Sun, 12 Sep 2010 13:26:39 +0000 reimar Replace sizeof(type)
Sat, 10 Jul 2010 23:11:45 +0000 reimar Remove some pointless uses of be2me/le2me.
Sat, 10 Jul 2010 18:47:59 +0000 reimar Make the stream language an argument to the stream creation function
Sun, 20 Jun 2010 15:04:12 +0000 diego Move hr_mp3_seek extern variable declaration to demux_audio.h.
Mon, 22 Feb 2010 14:27:32 +0000 tack Get the proper codec id when a WAVE_FORMAT_EXTENSIBLE extension exists in a
Thu, 18 Feb 2010 00:18:50 +0000 diego Add header for AVI print functions; avoids many forward declarations.
Sun, 22 Nov 2009 15:18:21 +0000 reimar Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many
Mon, 14 Sep 2009 08:51:00 +0000 reimar Get rid of useless indirection and use the demuxer argument directly instead of
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Fri, 08 May 2009 21:51:13 +0000 diego Add standard license header to all files in libmpdemux.
Wed, 03 Dec 2008 23:01:03 +0000 diego Get rid of pointless 'extern' keywords.
Sun, 16 Nov 2008 10:20:58 +0000 reimar Use 64 bit numbers for file positions in the seek function in audio demuxer.
Thu, 09 Oct 2008 17:10:31 +0000 cehoyos Remove unused line (and fix an icc warning).
Tue, 29 Jul 2008 11:17:52 +0000 ptt changed 'Audio file' to 'Audio only' (to not get 'Audio file file' when played)
Sun, 13 Jul 2008 16:56:00 +0000 reimar 100l, do not use macros on functions that are not idempotent
Fri, 11 Jul 2008 17:25:37 +0000 reimar Correct stream-seekability tests in demux_audio and demux_lavf
Thu, 10 Jul 2008 20:10:11 +0000 reimar Only read wav header cbSize when there is enough space in header.
Thu, 10 Jul 2008 20:06:43 +0000 reimar 100l, assignment introduced in r27246 was exactly the wrong way around.
Thu, 10 Jul 2008 19:30:23 +0000 reimar Cosmetics: reindent
Thu, 10 Jul 2008 19:29:02 +0000 reimar Clean up reading of wav extradata.
Sun, 29 Jun 2008 07:34:44 +0000 reimar Make sure we do not use uninitialized data in case of a short read.
Wed, 21 May 2008 16:07:37 +0000 reimar Continue detection if it is not clear if we have a MP3 or flac file.
Sat, 12 Apr 2008 15:16:37 +0000 reimar Remove another two useless special-case from flac metadata reading function
Sat, 12 Apr 2008 15:14:02 +0000 reimar Simplify: use AV_RB24
Sat, 12 Apr 2008 15:11:03 +0000 reimar Remove useless checks
Sat, 12 Apr 2008 15:09:40 +0000 reimar Simplify (currently disabled) get_flac_metadata
Tue, 29 Jan 2008 22:44:55 +0000 reimar Add a comment to the #if 0
Tue, 29 Jan 2008 22:04:46 +0000 reimar Disable reading of flac metadata, mere metadata is not worth such a mess.
Tue, 29 Jan 2008 22:00:58 +0000 reimar Properly check length of flac metadata.
Tue, 29 Jan 2008 15:11:38 +0000 reimar Use defines to give names to the different seek flags.
Sat, 19 Jan 2008 14:43:58 +0000 reimar Fix endless loop if nAvgBytesPerSec is 0.
Sat, 19 Jan 2008 14:38:24 +0000 reimar Avoid a division by 0 if i_bps is 0.
Sun, 13 Jan 2008 16:00:39 +0000 reimar Make all demuxer_desc_t const, thus moving them to .rodata
Mon, 24 Sep 2007 22:21:14 +0000 reimar Simplify: initialize at declaration at the start of the function
Mon, 24 Sep 2007 22:18:47 +0000 reimar Get rid of rather pointless asserts
Mon, 24 Sep 2007 21:49:56 +0000 uau demux_audio.c: Fix timestamp handling
Sun, 24 Jun 2007 13:21:50 +0000 reimar Get rid of: useless variable, useless cast and void * arithmetic
Sun, 24 Jun 2007 13:20:17 +0000 reimar Use AV_RL32
Thu, 15 Mar 2007 18:36:36 +0000 diego Add explicit location for headers from the stream/ directory.
Thu, 15 Mar 2007 10:38:51 +0000 reimar Check for eof in loop searching for data chunk.
Sun, 04 Mar 2007 12:43:55 +0000 reimar Fix wrong setting of samplesize (must be bytes per sample, not bits)
Sun, 04 Feb 2007 09:33:57 +0000 reimar Do not read beyond end of data chunk if chunk_size is set.
Mon, 18 Dec 2006 15:15:21 +0000 reimar doxify a comment
Mon, 18 Dec 2006 15:14:23 +0000 reimar Require 12 consecutive MPEG-audio headers before detecting as audio.
Sat, 21 Oct 2006 19:58:49 +0000 reimar Try playing files with wrong wav header length, fixes riff_broken_hrdlen.wav
Thu, 13 Jul 2006 16:41:13 +0000 reynaldo drops casts from void * on malloc/calloc from libmpdemux code
Wed, 14 Jun 2006 19:48:54 +0000 uau Clean up audio pts handling, make audio pts tracking in the audio-only
Wed, 14 Jun 2006 14:05:59 +0000 uau Change free_sh_audio() to take demuxer and stream id as parameters
Sat, 22 Apr 2006 05:12:10 +0000 reynaldo Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of modifications as usual
Sun, 16 Apr 2006 13:45:21 +0000 reimar Use ULL for > 32 bits constant.
Tue, 11 Apr 2006 10:46:52 +0000 reimar try to detect flac bitrate early on to avoid division by zero problems.
Tue, 11 Apr 2006 10:43:20 +0000 reimar check wav header length against upper limit, should protect against
Mon, 27 Mar 2006 17:25:41 +0000 diego Convert printfs in aviprint.c to mp_msg and give the information printing
Fri, 24 Mar 2006 08:12:03 +0000 diego Convert all if(verbose>X) to mp_msg_test calls.
Mon, 20 Mar 2006 20:06:04 +0000 aurel retrieve metadata from FLAC files (patch by Benjamin Zores < ben _at_ geexbox.org >)
Thu, 09 Mar 2006 22:14:34 +0000 reimar fix leak on read error (forgot to free demux packet)
Wed, 08 Mar 2006 13:07:36 +0000 reimar "i < sizeof(buf)" must be "i < sizeof(buf) - 5", since later buf[i + 5] is used.
Fri, 17 Feb 2006 01:57:41 +0000 corey Second-try commit of this patch.
Tue, 07 Feb 2006 22:12:34 +0000 reimar read data in nBlockAlign aligned chunks
Fri, 18 Nov 2005 14:39:25 +0000 diego Unify include path handling, -I.. is in CFLAGS.
Sun, 30 Oct 2005 09:19:05 +0000 reimar move resync_audio_stream after seeking to demuxer.c
Thu, 20 Oct 2005 15:15:53 +0000 reimar Fix seeking in wav files: align relative to start of data, not start of file
Fri, 09 Sep 2005 20:05:42 +0000 reimar Ignore movi_end (except on error) to allow playing growing files.
Fri, 02 Sep 2005 08:32:32 +0000 ods15 Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
Fri, 05 Aug 2005 19:57:47 +0000 rtognimp Demuxer modularization
Mon, 01 Aug 2005 18:36:50 +0000 reimar set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
Mon, 18 Apr 2005 20:51:34 +0000 reimar Fix MP3 detection (list of found MP3 headers was not kep sorted).
Sun, 17 Apr 2005 17:17:52 +0000 rfelker nico partially fixed the bug i reported; here's the rest of the fix.
Sun, 17 Apr 2005 17:08:55 +0000 nicodvb skip framelen-4 bytes after having successfully detected an mpeg audio frame
Sun, 17 Apr 2005 09:42:51 +0000 nicodvb assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally assign layer and samples_per_frame when parsing mpa header
Fri, 04 Mar 2005 01:53:55 +0000 rfelker 100l to reimar.. sh_audio->samplerate and sh_audio->i_bps are not the same
Sat, 29 Jan 2005 12:55:56 +0000 reimar Fix possible hang when playing broken MP3 from linear stream and remove
Tue, 28 Sep 2004 17:05:44 +0000 reimar better, tuneable (via #define) MP3 detection, limit demux_audio to scanning
Thu, 16 Sep 2004 19:51:13 +0000 reimar moved sh_audio initialization from dec_audio to demuxer.c to fix
Sun, 05 Sep 2004 22:10:59 +0000 rfelker fix seeking with -hr-mp3-seek. maybe not the best fix (why is last_pts
Thu, 12 Aug 2004 12:36:08 +0000 rtognimp DTS support via lavc and libdts
Thu, 15 Apr 2004 20:48:27 +0000 rtognimp 10l to me: writing outside allocated memory
Sat, 04 Oct 2003 22:00:25 +0000 lumag FLAC decoding support via imported libmpflac.
Sat, 20 Sep 2003 12:50:25 +0000 lumag Fixed 'reading after EOF'. demuxers didn't check, how many they've read!
Fri, 19 Sep 2003 19:40:46 +0000 faust3 get_percent_pos support in demux_audio, patch by ROSEN Jeremy <jeremy.rosen at c-s.fr>
Wed, 04 Jun 2003 10:52:58 +0000 rfelker don't set audio pts to infinity after seeking in mp3 files :)
Sat, 22 Mar 2003 20:15:03 +0000 rtognimp Warning fix, patch by Dominik Mierzejewsky
Mon, 17 Mar 2003 20:38:23 +0000 rtognimp 10l cbSize not inited for l=16.\n Could give problem in print_wave_header
Sat, 15 Mar 2003 19:40:52 +0000 rtognimp Same behaviour as old code for short headers
Sat, 15 Mar 2003 14:12:22 +0000 rtognimp Read extradata for wav files, based on patch by <dimakar(at)yahoo.com>. Required for truespeech files.
Wed, 04 Dec 2002 23:51:44 +0000 arpi fixed mp3 seeking near end of file
Wed, 06 Nov 2002 23:54:29 +0000 arpi *HUGE* set of compiler warning fixes, unused variables removal
Tue, 05 Nov 2002 23:28:52 +0000 rfelker skip id3v2 junk when looking for mp3
Tue, 05 Nov 2002 01:21:35 +0000 arpi 10l
Sat, 02 Nov 2002 19:52:59 +0000 arpi A-V sync cleanup: sh_audio->timer replaced by sh_audio->delay, it contains
Wed, 23 Oct 2002 17:21:01 +0000 arpi cleanup config option handling in libmpdemux.
Tue, 22 Oct 2002 16:02:21 +0000 arpi dump wav header
Sun, 21 Jul 2002 14:36:33 +0000 albeu Fix vbr muxing and win32 codec crash on init
Wed, 24 Apr 2002 17:28:23 +0000 albeu Uninit added
Tue, 23 Apr 2002 13:27:46 +0000 albeu Fix % seeking
Wed, 20 Feb 2002 16:55:11 +0000 albeu Added pts for mp3 and wav. And perfect seeking for mp3, unless flags & 2
Sat, 16 Feb 2002 05:45:16 +0000 melanson fixed WAV demuxer so that it skips to the actual start of the audio data
Fri, 15 Feb 2002 16:48:25 +0000 albeu We should skip exactly the first frame on mp3 files.
Fri, 15 Feb 2002 00:16:21 +0000 arpi mp3 position fixed
Thu, 14 Feb 2002 18:37:33 +0000 albeu Improved mp3 detection (don't detect mpeg1/2 as mp3 anymore)
Thu, 14 Feb 2002 13:04:35 +0000 albeu Audio file demuxer. Extended version for demuxer info.