Statistics
| Branch: | Revision:

ffmpeg / libavformat / mp3.c @ 6a8c8b36

History | View | Annotate | Download (18.5 KB)

# Date Author Comment
0ffbc258 03/02/2009 05:18 AM Diego Biurrun

Change a bunch of codec long_names to be more consistent and descriptive.

Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0f89acf 02/05/2009 06:41 PM Alex Converse

Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on
files with very large tags.

Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3a9e50c 02/02/2009 10:17 PM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 16957 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b1c4a06 02/02/2009 10:17 PM Aurelien Jacobs

simplify usage of dstlen as it is not a parameter anymore

Originally committed as revision 16956 to svn://svn.ffmpeg.org/ffmpeg/trunk

ee56cab3 02/02/2009 10:14 PM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk

b182eeb0 02/02/2009 10:13 PM Aurelien Jacobs

use new metadata API in the mp3 muxer

Originally committed as revision 16954 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d98535c 02/02/2009 10:11 PM Aurelien Jacobs

use new metadata API in the mp3 demuxer

Originally committed as revision 16953 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f5aca8f 02/01/2009 09:22 PM Aurelien Jacobs

don't support the mp3 extension in the mp2 muxer
especially not under any conditionnal

Originally committed as revision 16922 to svn://svn.ffmpeg.org/ffmpeg/trunk

cf92cec7 01/23/2009 12:09 PM Andreas Öman

Avoid allocating MPADecodeContext on stack.

Instead move relevant fields into MPADecodeHeader and use it
where appropriate.

Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk

38cef584 01/20/2009 08:00 AM Alex Converse

Fix a read past end of buffer crash in the mp3 probe

Originally committed as revision 16693 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac3ef4a4 01/19/2009 09:54 PM Alex Converse

Fix probing of files with ID3v2 tags. Discussed at
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html

Originally committed as revision 16688 to svn://svn.ffmpeg.org/ffmpeg/trunk

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ea512a6 01/15/2009 12:23 PM Alex Converse

Factorise id3v2 header parsing from mp3.c to be shared

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 16615 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

853a9753 01/04/2009 04:23 PM Yoav Steinberg

If we find a VBR tag at the beginning of the file don't attempt to
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

c96bd212 12/21/2008 11:50 PM Michael Niedermayer

Change mpeg audio parser so it only sets frame_size, channels and bit_rate
after it has a few valid frames.
Fixes issue762

Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
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

8212568a 09/02/2008 10:45 PM Diego Biurrun

Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate.

Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk

1bef65f4 08/24/2008 12:45 PM Reimar Döffinger

Make the id3v1_genre_str array const, not just the strings it points to.

Originally committed as revision 14942 to svn://svn.ffmpeg.org/ffmpeg/trunk

ea452b54 08/13/2008 05:22 PM Aurelien Jacobs

strcasecmp() requires #include <strings.h>

Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk

58607ca7 07/11/2008 07:41 AM Diego Biurrun

Move one function that is only used for muxing below #ifdef CONFIG_MUXERS.

Originally committed as revision 14164 to svn://svn.ffmpeg.org/ffmpeg/trunk

03289958 07/04/2008 10:04 PM Michael Niedermayer

All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable)

Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk

d5ae4584 07/04/2008 10:00 PM Michael Niedermayer

All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas
and found by reimar) fix is from reimar + cosmetics by me.

Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b64a036 06/19/2008 11:25 PM Baptiste Coudurier

remove useless close funcs

Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
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

d9133126 05/12/2008 10:30 AM Carl Eugen Hoyos

Replace some occurrences of 0 with CODEC_ID_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13135 to svn://svn.ffmpeg.org/ffmpeg/trunk

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk

8df94c73 02/04/2008 01:01 AM Michael Niedermayer

Another const found by -Wwrite-strings.

Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk

2db97113 12/03/2007 09:26 AM Michael Niedermayer

return a slightly larger score if we find more than 500 valid mp3 frames in a row

Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ef5501b 12/03/2007 08:27 AM Michael Niedermayer

ensure that the probe code runs in O(n)

Originally committed as revision 11147 to svn://svn.ffmpeg.org/ffmpeg/trunk

890d2799 12/03/2007 04:50 AM Michael Niedermayer

remove arbitrary 4096 limit for probing

Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk

5110d151 12/03/2007 04:49 AM Michael Niedermayer

prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files

Originally committed as revision 11144 to svn://svn.ffmpeg.org/ffmpeg/trunk

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

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

d638424b 11/14/2007 08:31 PM Aurelien Jacobs

cosmetics: whitespace

Originally committed as revision 11028 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd597862 11/14/2007 06:33 AM Andreas Öman

remove unnecessary -1 from snprintf len

Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd548b99 11/14/2007 06:32 AM Patrice Bensoussan

Add support for ID3v2 year tag

Patch by: patrice bensoussan a free d fr

Originally committed as revision 11008 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b5bd7c9 11/04/2007 07:52 PM Andreas Öman

make sure the mpeg audio header is valid before passing it to ff_mpegaudio_decode_header()

Originally committed as revision 10925 to svn://svn.ffmpeg.org/ffmpeg/trunk

8862fb41 10/24/2007 04:56 AM Andreas Öman

add support for reading duration from VBRI-tag in mp3 files

Originally committed as revision 10851 to svn://svn.ffmpeg.org/ffmpeg/trunk

478638ab 10/23/2007 05:28 PM Andreas Öman

fix indent

Originally committed as revision 10847 to svn://svn.ffmpeg.org/ffmpeg/trunk

db233e83 10/23/2007 05:10 PM Andreas Öman

cosmetical change of mp3_parse_xing() to prepare for upcoming VBRI tag support

Originally committed as revision 10846 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca851a3a 10/23/2007 01:35 PM Andreas Öman

add support for reading duration from Xing-tag in mp3 files

Originally committed as revision 10845 to svn://svn.ffmpeg.org/ffmpeg/trunk

f97931c1 10/18/2007 03:02 PM Thorsten Jordan

set start_time to 0 to enable seeking in mp3-files

patch by Thorsten Jordan, tjordan macrosystem de

Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6377f61 08/05/2007 12:47 AM Baptiste Coudurier

do not write id3v2 header when writing .mp2 files

Originally committed as revision 9924 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk

ea7599ba 07/08/2007 01:42 PM Måns Rullgård

kill uninitialised variable warning in mp3_read_probe()

Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk

c21f308e 07/08/2007 03:16 AM Roman Shaposhnik
  • Getting rid of the use of GCC language extensions

Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk

80fb8234 07/06/2007 09:32 AM Ronald S. Bultje

Use AV_RB* macros where appropriate.
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400

Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk

75e61b0e 06/23/2007 11:10 PM Måns Rullgård

use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk

0dc56bfa 05/22/2007 08:28 AM Andreas Öman

id3v2 writer
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9102 to svn://svn.ffmpeg.org/ffmpeg/trunk

52b53f86 05/22/2007 08:23 AM Andreas Öman

id3v2 reader
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9101 to svn://svn.ffmpeg.org/ffmpeg/trunk

cb2578d5 05/22/2007 07:58 AM Andreas Öman

cosmetic v1/v2 renaming
patch by Andreas Öman andreas olebyn nu

Originally committed as revision 9100 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca6e50af 05/20/2007 03:11 PM Aurelien Jacobs

add a ff_ prefix to some mpegaudio funcs

Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk

89ecc261 05/06/2007 06:23 PM Reimar Döffinger

Fix two small typos in comment

Originally committed as revision 8920 to svn://svn.ffmpeg.org/ffmpeg/trunk

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk

e9b78eeb 02/05/2007 11:04 PM Michael Niedermayer

better generic index building and seeking code

Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ebe07fb 01/07/2007 12:02 AM Diego Biurrun

variable renaming: mp3lame --> libmp3lame

Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f51da1b 11/08/2006 10:49 PM Michael Niedermayer

fix missdetection of mpeg-ps (ps2_interdite.mpg)

Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk

498c544a 10/30/2006 02:19 AM Michael Niedermayer

dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)

Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

22668218 09/20/2006 09:23 PM Michael Niedermayer

reduce scores if the mp3 frames dont start from the begin of the file (fixes flv deteted as mp3 issues)

Originally committed as revision 6304 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0702de9 09/12/2006 02:16 PM Michael Niedermayer

10l typo

Originally committed as revision 6240 to svn://svn.ffmpeg.org/ffmpeg/trunk

abade142 09/10/2006 08:31 PM Andreas Öman

allow ffmpeg to read mp3s beginning with partial frames
Patch by Andreas Oman andreas A olebyn P nu
Original thread:
Date: Sep 10, 2006 7:26 AM
Subject: Re: [Ffmpeg-devel] [PATCH] allow ffmpeg to read mp3s beginning with partial frames

Originally committed as revision 6225 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

dc4ed3b1 06/05/2006 10:41 PM Måns Rullgård

probe for mpeg audio

Originally committed as revision 5457 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

e0827ba4 07/11/2005 01:16 AM Michael Niedermayer

.m1v and .m2a (feature req #1178960)

Originally committed as revision 4431 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk

a965c478 05/19/2005 12:06 AM Aurelien Jacobs

drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)

Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba0ce88a 11/10/2003 06:42 PM Fabrice Bellard

added parsing

Originally committed as revision 2498 to svn://svn.ffmpeg.org/ffmpeg/trunk

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk

6a58e151 09/08/2003 10:34 PM Fabrice Bellard

ID3 parsing and generation in MP3 format

Originally committed as revision 2237 to svn://svn.ffmpeg.org/ffmpeg/trunk