Statistics
| Branch: | Revision:

ffmpeg / libavformat / id3v2.c @ 4dcde00c

History | View | Annotate | Download (10.7 KB)

# Date Author Comment
c5f4c0fd 03/22/2011 01:08 PM Anton Khirnov

id3v2: skip broken tags with invalid size

fixes issue2649.

18854887 03/22/2011 01:08 PM Anton Khirnov

id3v2: don't explicitly skip padding

It's pointless, since there's a seek to the end of tag later.

eb1e7f78 03/21/2011 07:08 PM Anton Khirnov

id3v2: simplify error handling.

Signed-off-by: Ronald S. Bultje <>

bca6dee3 03/21/2011 06:56 PM Anton Khirnov

id3v2: explicitly seek to the end of the tag after reading

Current code might stop in the middle of an invalid tag.

fixes issue2650

Signed-off-by: Ronald S. Bultje <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

45a8a02a 03/17/2011 02:24 AM Anton Khirnov

lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense

Signed-off-by: Ronald S. Bultje <>

56e2ac6b 03/15/2011 05:57 PM Anton Khirnov

id3v2: merge TYER/TDAT/TIME to date tag

fb61a7c5 03/09/2011 10:57 AM Anton Khirnov

id3v2: fix typo in error message

Signed-off-by: Mans Rullgard <>

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

Signed-off-by: Ronald S. Bultje <>

e356fc57 03/01/2011 05:22 PM Anton Khirnov

lavf: replace all uses of url_fskip with avio_seek

Signed-off-by: Ronald S. Bultje <>

6b4aa5da 03/01/2011 05:12 PM Anton Khirnov

avio: avio_ prefix for url_fseek

Signed-off-by: Ronald S. Bultje <>

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

avio: avio_ prefixes for get_* functions

In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read

get_partial_buffer will be made private later

get_strz is left out becase I want to change it later to return...

e731b8d8 02/20/2011 01:37 PM Anton Khirnov

avio: move init_put_byte() to a new private header and rename it

init_put_byte should never be used outside of lavf, since
sizeof(AVIOContext) isn't part of public ABI.

Signed-off-by: Ronald S. Bultje <>

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

cb6bc576 01/22/2011 01:06 AM Anton Khirnov

id3v2: split tables for various ID3v2 versions

This is needed for upcoming ID3v2.3 muxing support.

Signed-off-by: Janne Grunau <>

d66eff36 01/21/2011 06:42 PM Anton Khirnov

id3v2: use an enum for encodings instead of magic numbers.

Signed-off-by: Mans Rullgard <>

75aded83 01/20/2011 01:39 PM Anton Khirnov

id3v2: don't overwrite existing tags

Apparently some broken taggers prepend a new ID3v2 tag leaving the
existing one intact. Our parser currently reads all tags and overwrites
existing values with supposedly outdated ones.

fixes issue2419

Signed-off-by: Mans Rullgard <>

f7fcd6a2 01/20/2011 01:36 PM Anton Khirnov

id3v2: convert metadata after all the tags were read

Signed-off-by: Mans Rullgard <>

46a2da76 01/20/2011 01:36 PM Anton Khirnov

id3v2: make ff_id3v2_parse static

Signed-off-by: Mans Rullgard <>

a152c77f 12/10/2010 03:48 PM Anton Khirnov

id3v2: skip data length indicator

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

407d3d5a 12/07/2010 07:52 AM Anton Khirnov

id3v2: skip encrypted/compressed frames

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

7a07d158 12/07/2010 07:52 AM Anton Khirnov

id3v2: use a named constant instead of 0x02

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

bcb5d217 11/23/2010 07:54 AM Anton Khirnov

id3v2: add TDEN<->creation_time tag mapping

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

ad7768f4 10/16/2010 01:20 PM Anton Khirnov

add ff_ prefix to metadata_conv()
patch by Anton Khirnov anton at khirnov dot net

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

03700d39 10/15/2010 07:04 PM Anton Khirnov

Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov anton at khirnov dot net

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

27af8902 10/01/2010 05:45 PM Reimar Döffinger

Fix indentation of ff_id3v2_read

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

0c41d554 09/11/2010 04:29 PM David Byron

Read all id3v2 tags at the beginning of mp3 files.

Patch by David Byron, dbyron dbyron com

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

18bbe9df 08/18/2010 04:29 PM Alexander Kojevnikov

Support unsynchronisation for id3v2 tags.

Patch by Alexander Kojevnikov, alexander kojevnikov com

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

ff58de29 07/28/2010 08:06 AM Alexander Kojevnikov

Skip short padding in id3v2.

Patch by Alexander Kojevnikov, alexander kojevnikov com

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

3a1350e8 06/11/2010 01:44 PM Michael Karcher

Generalize ID3v2 functions to support ID3v2-like ID headers with a
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

2ef6c124 04/25/2010 02:27 PM Stefano Sabatini

Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.

av_metadata_set() is going to be dropped at the next major bump.

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

037e9afd 04/22/2010 12:54 PM Jai Menon

Fix off-by-1 error in the tag parsing code.

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

ca76a119 02/01/2010 11:39 AM Anton Khirnov

Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com

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

dfe9ee6b 12/13/2009 09:02 PM Michael Niedermayer

More entries for ff_id3v2_metadata_conv from ffmbc.

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

8a98be1a 12/13/2009 09:01 PM Michael Niedermayer

s/author/artist/ for ID3
from ffmbc

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

2e3ca1ff 10/15/2009 01:55 PM Jai Menon

Skip padding bytes correctly in ID3 tags.
This fixes a regression introduced in r20170.

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

41770abf 10/05/2009 08:10 PM Anton Khirnov

id3v2: Export all text information frames with correct names.
Patch by Anton Khirnov <wyskas at gmail dot com>

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

078d89a2 10/05/2009 04:06 PM Anton Khirnov

MP3 muxer: Write all metadata.
Patch by Anton Khirnov <wyskas at gmail dot com>

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

6378b062 09/29/2009 07:05 AM Anton Khirnov

Add id3v2 metadata conversion table and use it in mp3 muxer.

Patch by Anton Khirnov, wyskas gmail

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

20c68378 09/23/2009 06:22 PM Anton Khirnov

id3v2: Add support for UTF-16 encoding.
patch by Anton Khirnov, wyskas gmail com

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

9aa1bcce 09/23/2009 06:10 PM Anton Khirnov

id3v2: Use 0 instead of '\0'.
patch by Anton Khirnov, wyskas gmail com

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

787f8fad 09/23/2009 06:04 PM Anton Khirnov

id3v2: check for enough space to write full UTF-8 characters.
patch by Anton Khirnov, wyskas gmail com

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

d004179e 06/29/2009 06:37 PM Michael Niedermayer

indent

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

3fd5a75b 06/29/2009 06:36 PM Michael Niedermayer

id3v2.4.0 uses syncsafe integers for sizes of frames.
Fixes issue1234
Fixes regression introduced in r19275

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

1cd44221 06/25/2009 07:44 PM Michael Niedermayer

Fix id3v2.2 frame size parsing.
Fixes issue1202.

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

47f42aec 06/25/2009 07:26 PM Michael Niedermayer

Fix id3v2.3/4 tag size parsing.
Fixes issue1106

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

50fcd5be 06/19/2009 02:03 PM Patrick Dehne

Move id3v1/id3v2 handling code from mp3.c to id3v12.c.
patch by Patrick Dehne, patrick mysonicweb com

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

1d4b1bf2 06/11/2009 08:45 PM Diego Biurrun

cosmetics: Prettyprint one more line to have columns line up.

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

7d7b8c32 06/11/2009 03:35 PM Diego Biurrun

cosmetics: Reformat to K&R and prettyprint newly created files.

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

75411182 06/11/2009 03:26 PM Patrick Dehne

Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com

Originally committed as revision 19155 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

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