summaryrefslogtreecommitdiffstats
path: root/libavformat/mp3dec.c
Commit message (Collapse)AuthorAgeFilesLines
* mp3dec: decode more data from Info headerAlessandro Ghedini2014-04-171-10/+93
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: move XING/Info and VBRI parsing into their own functionsAlessandro Ghedini2014-04-171-35/+58
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: export replaygain tags from ID3v2Anton Khirnov2014-03-241-0/+7
|
* mp3: add .mpa extensionVittorio Giovara2013-09-121-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriateDiego Biurrun2013-05-041-3/+3
|
* mp3dec: fallback to generic seeking when a TOC is not presentMichael Niedermayer2013-04-191-0/+11
| | | | | | | Fixes seeking without a Xing/Info header. CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: Fix VBR bit rate parsingAlexander Kojevnikov2013-03-081-2/+4
| | | | | | | | | | | | When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: read Xing frame TOC indexAnton Khirnov2012-09-191-1/+57
|
* mp3dec: use named constants for Xing header flagsAnton Khirnov2012-09-191-2/+5
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-301-1/+1
|
* mp3dec: forward errors for av_get_packet().Anton Khirnov2012-07-281-3/+2
| | | | | | | Don't invent a bogus EIO error. The code now doesn't check for ret == 0, but that check is redundant, av_get_packet() never returns 0.
* mp3dec: remove a pointless local variable.Anton Khirnov2012-07-281-4/+2
|
* mp3dec: remove commented out cruft.Anton Khirnov2012-07-281-1/+0
|
* mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.Ronald S. Bultje2012-05-301-5/+25
|
* cosmetics: Align muxer/demuxer declarationsMartin Storsjö2012-04-061-2/+2
| | | | | | | Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
* mp3dec: Fix reading file size and frames in VBRI headersIngo Brückl2012-03-011-1/+1
| | | | | | | | The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes" come first, "Frames" behind. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-271-2/+1
|
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-301-1/+2
| | | | It's supposed to be called only from (de)muxers.
* lavc: use avpriv_ prefix for some mpegaudio symbols used in lavf.Anton Khirnov2011-10-201-2/+2
| | | | | Specifically, ff_mpa_freq_tab, ff_mpa_bitrate_tab, ff_mpa_decode_header, ff_mpegaudio_decode_header.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-191-1/+1
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-171-6/+5
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-031-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-081-1/+2
|
* lavf: replace some more avio_seek(SEEK_CUR) with avio_skipAnton Khirnov2011-03-201-1/+1
| | | | 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-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-9/+9
| | | | | | | | | | | | | | 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>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Move ID3v1 skip from decoder to demuxerClément Bœsch2011-01-221-0/+5
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Split mp3 demuxer and muxer into separate files.Anton Khirnov2011-01-211-0/+192
Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud