summaryrefslogtreecommitdiffstats
path: root/libavformat/mp3.c
Commit message (Collapse)AuthorAgeFilesLines
* Only read ID3v1 tag if ID3v2 isn't present or is empty.Anton Khirnov2009-10-051-1/+2
| | | | | | | | | This prevents the demuxer from exporting multiple semantically identical but differently named tags. Patch by Anton Khirnov, wyskas gmail Originally committed as revision 20175 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Export all text information frames with correct names.Anton Khirnov2009-10-051-0/+1
| | | | | | Patch by Anton Khirnov <wyskas at gmail dot com> Originally committed as revision 20171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MP3 muxer: Write all metadata.Anton Khirnov2009-10-051-34/+46
| | | | | | Patch by Anton Khirnov <wyskas at gmail dot com> Originally committed as revision 20170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sync AC3 probe values with MP3 probe values, they have to avoid similar issues.Reimar Döffinger2009-09-291-0/+2
| | | | | | | This fixes ffmpeg-generated files with -acodec ac3 being detected as raw ac3 instead of MPEG. Originally committed as revision 20075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add id3v2 metadata conversion table and use it in mp3 muxer.Anton Khirnov2009-09-291-0/+1
| | | | | | Patch by Anton Khirnov, wyskas gmail Originally committed as revision 20073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place MP3 demuxer code under appropriate #ifdefs.Diego Biurrun2009-09-221-14/+17
| | | | | | Fixes compilation with --disable-optimizations --disable-demuxers. Originally committed as revision 19964 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: set genre default immediately before reading genre tagJustin Ruggles2009-09-151-1/+1
| | | | Originally committed as revision 19867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set ID3v1 genre to 0xFF (unknown) by default instead of 0 (Blues).Justin Ruggles2009-09-151-0/+1
| | | | Originally committed as revision 19866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Slighty tweak mp3 probe threshold to prevent probetest from complaining.Michael Niedermayer2009-09-141-1/+1
| | | | Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move id3v1/id3v2 handling code from mp3.c to id3v[12].c.Patrick Dehne2009-06-191-76/+2
| | | | | | patch by Patrick Dehne, patrick mysonicweb com Originally committed as revision 19224 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.Patrick Dehne2009-06-111-287/+4
| | | | | | patch by Patrick Dehne, patrick mysonicweb com Originally committed as revision 19155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Require 4 instead of 3 frames for detecting mp3,Michael Niedermayer2009-04-221-1/+2
| | | | | | fixes misdetection of mpegps_mp3_unrecognized_format.mpg (issue997) Originally committed as revision 18657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* handle id3v2 'genre' tag formated as '%d'Aurelien Jacobs2009-03-221-1/+2
| | | | Originally committed as revision 18145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-021-1/+1
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions onAlex Converse2009-02-051-0/+1
| | | | | | files with very large tags. Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2009-02-021-1/+1
| | | | Originally committed as revision 16957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify usage of dstlen as it is not a parameter anymoreAurelien Jacobs2009-02-021-3/+1
| | | | Originally committed as revision 16956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2009-02-021-6/+6
| | | | Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in the mp3 muxerAurelien Jacobs2009-02-021-40/+50
| | | | Originally committed as revision 16954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in the mp3 demuxerAurelien Jacobs2009-02-021-23/+33
| | | | Originally committed as revision 16953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* don't support the mp3 extension in the mp2 muxerAurelien Jacobs2009-02-011-4/+0
| | | | | | especially not under any conditionnal Originally committed as revision 16922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid allocating MPADecodeContext on stack.Andreas Öman2009-01-231-1/+1
| | | | | | | Instead move relevant fields into MPADecodeHeader and use it where appropriate. Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a read past end of buffer crash in the mp3 probeAlex Converse2009-01-201-1/+1
| | | | Originally committed as revision 16693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix probing of files with ID3v2 tags. Discussed atAlex Converse2009-01-191-5/+7
| | | | | | http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html Originally committed as revision 16688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorise id3v2 header parsing from mp3.c to be sharedAlex Converse2009-01-151-17/+3
| | | | | | Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 16615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-6/+6
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If we find a VBR tag at the beginning of the file don't attempt toYoav Steinberg2009-01-041-7/+13
| | | | | | | parse it as a valid frame. patch by (Yoav Steinberg yoav out monfort in co in il) Originally committed as revision 16421 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change mpeg audio parser so it only sets frame_size, channels and bit_rateMichael Niedermayer2008-12-211-1/+1
| | | | | | | after it has a few valid frames. Fixes issue762 Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-031-4/+4
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace generic CONFIG_MUXERS preprocessor conditionals by more specificDiego Biurrun2008-09-021-2/+2
| | | | | | CONFIG_FOO_MUXER conditionals where appropriate. Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the id3v1_genre_str array const, not just the strings it points to.Reimar Döffinger2008-08-241-1/+1
| | | | Originally committed as revision 14942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* strcasecmp() requires #include <strings.h>Aurelien Jacobs2008-08-131-0/+1
| | | | Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move one function that is only used for muxing below #ifdef CONFIG_MUXERS.Diego Biurrun2008-07-111-31/+31
| | | | Originally committed as revision 14164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not ↵Michael Niedermayer2008-07-041-1/+1
| | | | | | exploitable) Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreasMichael Niedermayer2008-07-041-0/+2
| | | | | | and found by reimar) fix is from reimar + cosmetics by me. Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless close funcsBaptiste Coudurier2008-06-191-6/+0
| | | | Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-031-3/+3
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace some occurrences of 0 with CODEC_ID_NONE.Carl Eugen Hoyos2008-05-121-2/+2
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-3/+4
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-2/+2
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Another const found by -Wwrite-strings.Michael Niedermayer2008-02-041-1/+1
| | | | Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return a slightly larger score if we find more than 500 valid mp3 frames in ↵Michael Niedermayer2007-12-031-0/+1
| | | | | | a row Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure that the probe code runs in O(n)Michael Niedermayer2007-12-031-3/+1
| | | | Originally committed as revision 11147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove arbitrary 4096 limit for probingMichael Niedermayer2007-12-031-1/+1
| | | | Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 filesMichael Niedermayer2007-12-031-0/+2
| | | | Originally committed as revision 11144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-211-49/+49
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: whitespaceAurelien Jacobs2007-11-141-2/+2
| | | | Originally committed as revision 11028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unnecessary -1 from snprintf lenAndreas Öman2007-11-141-1/+1
| | | | Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for ID3v2 year tagPatrice Bensoussan2007-11-141-0/+5
| | | | | | Patch by: patrice bensoussan a free d fr Originally committed as revision 11008 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud