summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mp3_hdr.c
Commit message (Collapse)AuthorAgeFilesLines
* libmpdemux: add back demux_mpgwm42012-09-181-0/+144
| | | | | | | | | | | | | | | | | | | | | Apparently this was needed for good DVD playback. This demuxer has been removed in 1fde09db6f4ce. All code added comes from the revision before that. Some other bits have been removed in later commits, and are added back as well. Usage of memalign() is replaced by av_malloc(). As far as I can tell, this memory is never free'd or reallocated, so no calls to av_free() have been added. The code re-added to video.c is plain horrible, full of code duplication, full of demuxer/codecs specifics, but apparently needed. Unrelated to re-adding the demuxer, re-add one codepath for DEMUXER_TYPE_TV, which was accidentally removed in the same commit demux_mpg was removed. The closed captions decoder is not re-added.
* libmpcodecs: remove redundant audio and video decoderswm42012-08-201-122/+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.
* mp3_hdr: cleanupsmplayer-svn2012-08-031-59/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return a spf value even when srate is NULL. Based on patch by Benoît Thébaudeau [benoit thebaudeau advansee com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34916 b3059339-0415-0410-9bf9-f77b7e298cf2 Make some tables const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34917 b3059339-0415-0410-9bf9-f77b7e298cf2 Use more appropriate types. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34918 b3059339-0415-0410-9bf9-f77b7e298cf2 Some minor simplifications. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34919 b3059339-0415-0410-9bf9-f77b7e298cf2 Cosmetics: fix up indentations, get rid of a few lost tabs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34920 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unused code from mp_get_mp3_header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34923 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
* Merge svn changes up to r30798Uoti Urpala2010-03-101-12/+0
|\
| * Remove unused static function mp_mp3_get_lsf().cehoyos2010-02-271-12/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30774 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove pointless empty lines at EOF.diego2010-02-201-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30643Uoti Urpala2010-03-101-2/+0
|\|
| * libmpdemux: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-171-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30620 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark mp_mp3_get_lsf() as static; it is not used outside of the file.diego2010-02-171-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30614 b3059339-0415-0410-9bf9-f77b7e298cf2
| * #include corresponding .h files in .c files.diego2010-02-161-0/+1
| | | | | | | | | | | | | | This ensures that function declarations in both files always match. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30596 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-6/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-7/+6
| |
* | Merge svn changes up to r29304Uoti Urpala2009-07-071-0/+18
|\|
| * Add standard license header to all files in libmpdemux.diego2009-05-081-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make various functions staticUoti Urpala2008-08-121-1/+1
| |
* | Include corresponding .h in some .c filesUoti Urpala2008-08-121-0/+1
|/
* 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
* set i_bps in demux_audio for WAV and MP3 to avoid division by zero beforereimar2005-08-011-2/+5
| | | | | | | decoder sets it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16163 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrong framesize calculation for layers 1 and 2 with lsf setnicodvb2005-04-241-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15252 b3059339-0415-0410-9bf9-f77b7e298cf2
* assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally ↵nicodvb2005-04-171-2/+15
| | | | | | assign layer and samples_per_frame when parsing mpa header git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15200 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for mpa layers 1 and 2nicodvb2005-04-021-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15040 b3059339-0415-0410-9bf9-f77b7e298cf2
* codmetics (noticed by Alex)arpi2003-07-041-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10371 b3059339-0415-0410-9bf9-f77b7e298cf2
* better checksarpi2003-07-041-22/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10370 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for framesize validity, return -1 (error) for zero size (bug found by pl)arpi2002-10-251-7/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vbr muxing and win32 codec crash on initalbeu2002-07-211-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6764 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_mp3_get_lsf() added - to get decomp. frame sizearpi2002-04-241-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio file demuxer. Extended version for demuxer info.albeu2002-02-141-4/+8
| | | | | | | | genres.h come from id3edit of servex@servex.yi.org found at http://id3edit.sourceforge.net/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4695 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3 header parserarpi2001-10-311-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2590 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3 header parserarpi2001-10-311-0/+92
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2589 b3059339-0415-0410-9bf9-f77b7e298cf2