summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
Commit message (Collapse)AuthorAge
* Fix ID3v1 tags in mp3 filesJames Darnley2010-07-11
| | | | | | Patch by James Darnley, james dot darnley at gmail Originally committed as revision 24189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generalize ID3v2 functions to support ID3v2-like ID headers with aMichael Karcher2010-06-11
| | | | | | | | | different magic in the header (mainly targeted to Sony's .oma/.aa3 format). Patch by Michael Karcher, ffmpeg A mkarcher dialup fu-berlin de Originally committed as revision 23583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVFMT_NOTIMESTAMPS flag for mp3 muxerBaptiste Coudurier2010-04-20
| | | | | | Fixes issue 1026 Originally committed as revision 22916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Many mp3s seem to contain padding after id3 tags that is not considered in theMichael Niedermayer2010-02-28
| | | | | | tag size. Skip this to make the format probing quicker. Originally committed as revision 22111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set lavf identification string globally in av_write_header(), ratherAnton Khirnov2010-02-16
| | | | | | | | | than inside the muxers. Remove special handling of "encoder" tags from AVI and MP3 muxers. Patch by Anton Khirnov <wyskas gmail com>. Originally committed as revision 21850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mp3: ftell() file offset for VBR tags before ID3v1 parser messes it up.Andreas Öman2010-02-10
| | | | Originally committed as revision 21737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a list of generic tags and change demuxers to follow it.Anton Khirnov2010-02-01
| | | | | | Patch by Anton Khirnov, wyskas at gmail dot com Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set mp3 timebase to the lcm of all mp3 sample rates to fix frame durationBaptiste Coudurier2009-11-22
| | | | Originally committed as revision 20579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move function that is only used by the MP3 muxer below the corresponding #if.Diego Biurrun2009-10-19
| | | | | | This removes the dependency of the MP2 muxer on the id3v2 object file. Originally committed as revision 20329 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add '#include "libavutil/intreadwrite.h"', necessary for AV_RB32.Diego Biurrun2009-10-19
| | | | | | This fixes the build with demuxers disabled. Originally committed as revision 20327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only read ID3v1 tag if ID3v2 isn't present or is empty.Anton Khirnov2009-10-05
| | | | | | | | | 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-05
| | | | | | 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-05
| | | | | | 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-29
| | | | | | | 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-29
| | | | | | 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-22
| | | | | | 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-15
| | | | 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-15
| | | | 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-14
| | | | 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-19
| | | | | | 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-11
| | | | | | 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-22
| | | | | | 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-22
| | | | 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-02
| | | | 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-05
| | | | | | files with very large tags. Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2009-02-02
| | | | 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-02
| | | | Originally committed as revision 16956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2009-02-02
| | | | Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in the mp3 muxerAurelien Jacobs2009-02-02
| | | | Originally committed as revision 16954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in the mp3 demuxerAurelien Jacobs2009-02-02
| | | | Originally committed as revision 16953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* don't support the mp3 extension in the mp2 muxerAurelien Jacobs2009-02-01
| | | | | | 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-23
| | | | | | | 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-20
| | | | Originally committed as revision 16693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix probing of files with ID3v2 tags. Discussed atAlex Converse2009-01-19
| | | | | | 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-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorise id3v2 header parsing from mp3.c to be sharedAlex Converse2009-01-15
| | | | | | 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-13
| | | | | | 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-04
| | | | | | | 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-21
| | | | | | | 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-03
| | | | | | | 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-02
| | | | | | 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-24
| | | | Originally committed as revision 14942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* strcasecmp() requires #include <strings.h>Aurelien Jacobs2008-08-13
| | | | 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-11
| | | | 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-04
| | | | | | 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-04
| | | | | | 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-19
| | | | 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-03
| | | | | | | 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-12
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13135 to svn://svn.ffmpeg.org/ffmpeg/trunk