summaryrefslogtreecommitdiffstats
path: root/libavformat/wv.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '794ca87d2bff2513118de8b97595b3e23070e67d'Michael Niedermayer2013-05-291-0/+52
|\ | | | | | | | | | | | | | | | | | | | | * commit '794ca87d2bff2513118de8b97595b3e23070e67d': wvdec: split block header parsing into a separate file Conflicts: libavformat/Makefile libavformat/wvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wvdec: split block header parsing into a separate fileAnton Khirnov2013-05-281-0/+52
|/ | | | It will be reused by other muxers and demuxers.
* lavf: rename wv.c to wvdec.cAnton Khirnov2013-05-281-366/+0
| | | | wv.c will be used for shared wavpack functions.
* wavpack demuxer: export full wavpack blocks.Anton Khirnov2013-05-281-72/+42
| | | | | | | | Currently the demuxer shaves the blocks and exports only the information that is useful to the decoder. Exporting the blocks just as they are stored is simpler to understand and will make remuxing wavpack easier.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-111-1/+1
| | | | Also reorder some other #include when applicable.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* wv,mpc8: don't return apetag data in packets.Anton Khirnov2012-07-311-1/+8
|
* wv: K&R formatting cosmeticsAnton Khirnov2012-07-301-79/+96
|
* wv: return meaningful error codes.Anton Khirnov2012-07-281-22/+23
|
* wv: return AVERROR_EOF on EOF, not EIO.Anton Khirnov2012-07-281-1/+1
|
* WavPack demuxer: set packet durationPaul B Mahol2012-02-091-0/+7
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@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.
* 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)/'
* WavPack demuxer: do not rely on index when timestamp is not in indexed range.Kostya Shishkov2011-08-211-1/+2
| | | | | | | | | This fixes the situation when there are not enough entries in the index (e.g. on initial seek there's only one index entry in the index) and index search returns just the last known entry. That causes seeking function just to seek there instead of trying harder to get at the requested position. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* WavPack demuxer: store position of the first block in index.Kostya Shishkov2011-08-211-1/+3
| | | | | | | Currently for multichannel audio position for the last block position is stored in index (and used for seeking), which is obviously not correct. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-171-8/+7
| | | | It's more readable and less prone to breakage.
* wavpack: skip blocks with no samplesKostya Shishkov2011-06-281-2/+11
| | | | | | | These blocks don't report audio stream parameters and they are not needed for decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-081-1/+2
|
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-031-2/+2
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* 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-3/+3
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-071-1/+1
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-011-3/+3
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-4/+4
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-25/+25
| | | | | | | | | | | | | | 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: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-061-1/+2
| | | | 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.
* reindent after last commitKostya2011-01-241-19/+19
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-241-16/+108
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Don't try to demux WavPack files with >2 channels until we can support themKostya Shishkov2010-12-071-0/+4
| | | | Originally committed as revision 25919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set start_time and duration in AVStream instead of AVFormatContext forDavid Conrad2010-01-211-2/+2
| | | | | | | formats with only one stream; the AVFormatContext values will be derived from the AVStream and this helps in calculating stream bitrate. Originally committed as revision 21361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: WavPack demuxer forgot to seek back to initial position after blockKostya Shishkov2009-11-061-0/+1
| | | | | | contents parsing (for custom sampling rate). Originally committed as revision 20468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If custom sampling rate is set in WavPack file, parse first block to findKostya Shishkov2009-11-051-4/+25
| | | | | | | | actual value. This fixes issue 1518. Originally committed as revision 20461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initialize block_parsed before reading first block header in WavPack demuxer,Kostya Shishkov2009-11-051-1/+1
| | | | | | it will be useful later. Originally committed as revision 20460 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Read metadata in WavPack files.Anton Khirnov2009-10-181-0/+11
| | | | | | Patch by Anton Khirnov (acronym("What You Should Know About Something"), gmail) Originally committed as revision 20279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add floating point audio decoding to WavPack decoder.Laurent Aimar2009-05-061-5/+0
| | | | | | Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org) Originally committed as revision 18754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WavPack hybrid mode supportKostya Shishkov2009-01-161-4/+0
| | | | Originally committed as revision 16643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-111-1/+1
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-081-1/+1
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless close funcBaptiste Coudurier2008-06-191-6/+1
| | | | Originally committed as revision 13833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-031-1/+1
| | | | | | | 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
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-1/+1
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-211-7/+7
| | | | | | | 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
* loosen dependencies over allformats.hAurelien Jacobs2007-09-161-1/+0
| | | | Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud