Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-22id3v2: fix reading unsynchronized frames.Anton Khirnov
Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to 'ff ff ff', while it should be 'ff ff 00 ff'. Fixes Bug 395. CC: libav-stable@libav.org
2012-09-17id3v2: strdup the genre name explicitly.Clément Bœsch
It would have been done anyway in the av_dict_set() call. This simplifies the code and avoid a warning because of assigning a const string from ff_id3v1_genre_str to a non-const variable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-09-17lavf/id3v2: do not export empty fields.Clément Bœsch
This also avoids a memleak. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-12id3v2: Match PIC mimetype/format case-insensitivelyMohammad Alsaleh
Some files' embedded art seems to have the mimetype 'image/JPG' instead of 'image/jpg'. Libav fails to parse those because it matches case-sensitively. Use av_strncasecmp() to fix this behaviour. Signed-off-by: Mohammad Alsaleh <msal@tormail.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-08id3v2: Support v2.2 PICMohammad Alsaleh
id3 v2.2 uses image format ("JPG","PNG") instead of mimetypes. Currently, the attached picture is skipped because the format string does not match a known picture mimetype. This patch fixes this behaviour. Signed-off-by: Mohammad Alsaleh <msal@tormail.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-07id3v2: add a mimetype for bmp pictures.Anton Khirnov
2012-04-01id3v2: fix skipping extended header in id3v2.4Anton Khirnov
In v2.4, the length includes the length field itself.
2012-03-29id3v2: add another mimetype for JPEG imageKostya Shishkov
2012-03-20id3v2: set the keyframe flag on attached pictures.Anton Khirnov
2012-02-29id3v2: remove unused ff_id3v2_read().Anton Khirnov
Rename ff_id3v2_read_all to ff_id3v2_read().
2012-02-29lavf: export id3v2 attached pictures as streams.Anton Khirnov
2012-02-29id3v2: read attached pictures and export them in ID3v2ExtraMeta.Anton Khirnov
2011-12-11Fix a bunch of common typos.Diego Biurrun
2011-11-02id3v2: fix type of ID3v2EMFunc.free()Anton Khirnov
2011-10-14id3v2: reduce the scope of some non-globally-used symbols/structuresDiego Biurrun
2011-10-14id3v2: cosmetics: move some declarations before the places they are usedDiego Biurrun
2011-10-11id3v2: fix NULL pointer dereferenceAnton Khirnov
Bug found by Laurent Aimar fenrir at videolan org
2011-10-03id3v2: remove pointless castsAnton Khirnov
2011-10-03id3v2: read TXXX frames with two calls to decode_str() instead of one.Anton Khirnov
Read the key in the first, value in the second. This allows to avoid pointless strdups and simplify decode_str() by dropping two of its parameters.
2011-10-03id3v2: don't discard the whole tag when encountering empty frames.Anton Khirnov
While they're technically invalid, it's better to skip them and try to read the rest of the tag.
2011-09-21id3v2: add support for non-text and GEOB type tag framesDavid Goldwich
This extends the ID3v2 parser to allow for reading of non-text (i.e. other than T***) meta tag frames providing a ff_id3v2_read_all() function. An additional data structure 'ID3v2ExtraMeta' is introduced for these tags since AVDictionary is string oriented and unsuitable for binary data. A parser for tag frames of type GEOB is implemented, which is needed to extract keyring information from encrypted OMA files. GEOB data is parsed into 'ID3v2ExtraMetaGEOB' data structures. The routine to decode characters from different encodings to UTF-8, formerly part of the read_ttag() function, is moved to its own function. Because some tag frames contain subparts of unknown length, the function is now also able to read until a null character is found. In addition, the function now takes care of allocating a buffer long enough to hold the decoded characters. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-08Remove all uses of now deprecated metadata functions.Anton Khirnov
2011-05-27id3v2: Check malloc result. ID3v2 tags can be very large.Alex Converse
2011-05-27id3v2: Initialize tflags for version 2.2.Alex Converse
2011-03-22id3v2: skip broken tags with invalid sizeAnton Khirnov
fixes issue2649.
2011-03-22id3v2: don't explicitly skip paddingAnton Khirnov
It's pointless, since there's a seek to the end of tag later.
2011-03-21id3v2: simplify error handling.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-21id3v2: explicitly seek to the end of the tag after readingAnton Khirnov
Current code might stop in the middle of an invalid tag. fixes issue2650 Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-17lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15id3v2: merge TYER/TDAT/TIME to date tagAnton Khirnov
2011-03-09id3v2: fix typo in error messageAnton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-04avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01lavf: replace all uses of url_fskip with avio_seekAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01avio: avio_ prefix for url_fseekAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-21avio: avio_ prefixes for get_* functionsAnton Khirnov
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>
2011-02-20avio: move init_put_byte() to a new private header and rename itAnton Khirnov
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>
2011-02-20avio: rename ByteIOContext to AVIOContext.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-01-22id3v2: split tables for various ID3v2 versionsAnton Khirnov
This is needed for upcoming ID3v2.3 muxing support. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-21id3v2: use an enum for encodings instead of magic numbers.Anton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-20id3v2: don't overwrite existing tagsAnton Khirnov
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>
2011-01-20id3v2: convert metadata after all the tags were readAnton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-20id3v2: make ff_id3v2_parse staticAnton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-12-10id3v2: skip data length indicatorAnton Khirnov
Originally committed as revision 25926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07id3v2: skip encrypted/compressed framesAnton Khirnov
Originally committed as revision 25903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07id3v2: use a named constant instead of 0x02Anton Khirnov
Originally committed as revision 25902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-23id3v2: add TDEN<->creation_time tag mappingAnton Khirnov
Originally committed as revision 25812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-16add ff_ prefix to metadata_conv()Anton Khirnov
patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-15Export metadata in the generic format. Deprecate old conversion API.Anton Khirnov
patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk