summaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-081-14/+14
|
* id3v2: Check malloc result. ID3v2 tags can be very large.Alex Converse2011-05-261-1/+6
|
* id3v2: Initialize tflags for version 2.2.Alex Converse2011-05-261-1/+1
|
* id3v2: skip broken tags with invalid sizeAnton Khirnov2011-03-221-4/+4
| | | | fixes issue2649.
* id3v2: don't explicitly skip paddingAnton Khirnov2011-03-221-4/+0
| | | | It's pointless, since there's a seek to the end of tag later.
* id3v2: simplify error handling.Anton Khirnov2011-03-211-6/+4
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: explicitly seek to the end of the tag after readingAnton Khirnov2011-03-211-2/+3
| | | | | | | | Current code might stop in the middle of an invalid tag. fixes issue2650 Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-161-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: merge TYER/TDAT/TIME to date tagAnton Khirnov2011-03-151-0/+47
|
* id3v2: fix typo in error messageAnton Khirnov2011-03-091-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-011-6/+6
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-15/+15
| | | | | | | | | | | | | | 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 something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-201-1/+2
| | | | | | | 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 <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-4/+4
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: split tables for various ID3v2 versionsAnton Khirnov2011-01-221-19/+40
| | | | | | This is needed for upcoming ID3v2.3 muxing support. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* id3v2: use an enum for encodings instead of magic numbers.Anton Khirnov2011-01-211-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: don't overwrite existing tagsAnton Khirnov2011-01-201-1/+1
| | | | | | | | | | 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 <mans@mansr.com>
* id3v2: convert metadata after all the tags were readAnton Khirnov2011-01-201-2/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: make ff_id3v2_parse staticAnton Khirnov2011-01-201-28/+28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: skip data length indicatorAnton Khirnov2010-12-101-0/+5
| | | | Originally committed as revision 25926 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: skip encrypted/compressed framesAnton Khirnov2010-12-071-1/+4
| | | | Originally committed as revision 25903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: use a named constant instead of 0x02Anton Khirnov2010-12-071-1/+1
| | | | Originally committed as revision 25902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: add TDEN<->creation_time tag mappingAnton Khirnov2010-11-231-0/+1
| | | | Originally committed as revision 25812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_ prefix to metadata_conv()Anton Khirnov2010-10-161-1/+1
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export metadata in the generic format. Deprecate old conversion API.Anton Khirnov2010-10-151-0/+2
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentation of ff_id3v2_readReimar Döffinger2010-10-011-14/+14
| | | | Originally committed as revision 25292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Read all id3v2 tags at the beginning of mp3 files.David Byron2010-09-111-2/+9
| | | | | | Patch by David Byron, dbyron dbyron com Originally committed as revision 25105 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support unsynchronisation for id3v2 tags.Alexander Kojevnikov2010-08-181-14/+36
| | | | | | Patch by Alexander Kojevnikov, alexander kojevnikov com Originally committed as revision 24824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip short padding in id3v2.Alexander Kojevnikov2010-07-281-1/+5
| | | | | | Patch by Alexander Kojevnikov, alexander kojevnikov com Originally committed as revision 24567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generalize ID3v2 functions to support ID3v2-like ID headers with aMichael Karcher2010-06-111-6/+7
| | | | | | | | | 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
* Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini2010-04-251-1/+1
| | | | | | | | 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
* Fix off-by-1 error in the tag parsing code.Jai Menon2010-04-221-1/+1
| | | | Originally committed as revision 22945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a list of generic tags and change demuxers to follow it.Anton Khirnov2010-02-011-5/+11
| | | | | | Patch by Anton Khirnov, wyskas at gmail dot com Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More entries for ff_id3v2_metadata_conv from ffmbc.Michael Niedermayer2009-12-131-0/+6
| | | | Originally committed as revision 20839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* s/author/artist/ for ID3Michael Niedermayer2009-12-131-1/+1
| | | | | | from ffmbc Originally committed as revision 20838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip padding bytes correctly in ID3 tags.Jai Menon2009-10-151-1/+6
| | | | | | This fixes a regression introduced in r20170. Originally committed as revision 20238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Export all text information frames with correct names.Anton Khirnov2009-10-051-38/+22
| | | | | | 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-0/+9
| | | | | | Patch by Anton Khirnov <wyskas at gmail dot com> Originally committed as revision 20170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add id3v2 metadata conversion table and use it in mp3 muxer.Anton Khirnov2009-09-291-0/+19
| | | | | | Patch by Anton Khirnov, wyskas gmail Originally committed as revision 20073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Add support for UTF-16 encoding.Anton Khirnov2009-09-231-0/+28
| | | | | | patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Use 0 instead of '\0'.Anton Khirnov2009-09-231-1/+1
| | | | | | patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: check for enough space to write full UTF-8 characters.Anton Khirnov2009-09-231-2/+2
| | | | | | patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-06-291-1/+1
| | | | Originally committed as revision 19292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2.4.0 uses syncsafe integers for sizes of frames.Michael Niedermayer2009-06-291-0/+3
| | | | | | | Fixes issue1234 Fixes regression introduced in r19275 Originally committed as revision 19291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix id3v2.2 frame size parsing.Michael Niedermayer2009-06-251-1/+1
| | | | | | Fixes issue1202. Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix id3v2.3/4 tag size parsing.Michael Niedermayer2009-06-251-1/+1
| | | | | | Fixes issue1106 Originally committed as revision 19275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move id3v1/id3v2 handling code from mp3.c to id3v[12].c.Patrick Dehne2009-06-191-0/+20
| | | | | | patch by Patrick Dehne, patrick mysonicweb com Originally committed as revision 19224 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud