aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wav.c
Commit message (Collapse)AuthorAgeFilesLines
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-3/+3
| | | | | 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.
* Parse fact chunks from wav files to find duration.Michael Niedermayer2011-01-151-1/+12
| | | | Originally committed as revision 26370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor tag reading code out of wav read_header()Michael Niedermayer2011-01-151-2/+8
| | | | Originally committed as revision 26369 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set duration for wav files from sample size and data size or the wf64 sample ↵Michael Niedermayer2011-01-151-0/+7
| | | | | | | | | value. This should improve duration accuracy slightly and avoids a warning about its inaccuracy when accurate values are available. Idea by Frank Barchard Originally committed as revision 26366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move pcm demuxers to their own fileAurelien Jacobs2010-08-301-1/+1
| | | | Originally committed as revision 24993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In wav muxer, always flush in write_trailer, fix pipe outputBaptiste Coudurier2010-07-281-0/+2
| | | | Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentDaniel Verkamp2010-02-101-1/+1
| | | | Originally committed as revision 21747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix demuxing of wav files with broken data headerDaniel Verkamp2010-02-101-0/+3
| | | | Originally committed as revision 21746 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentDaniel Verkamp2009-10-061-7/+7
| | | | Originally committed as revision 20182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RF64 support to wav demuxer.Daniel Verkamp2009-10-061-7/+24
| | | | Originally committed as revision 20181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wav demuxer: return AVERROR_EOF instead of AVERROR(EIO) when the end ofReimar Döffinger2009-10-021-1/+1
| | | | | | the file is reached normally, without any error. Originally committed as revision 20143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wav: return av_get_packet errors unchanged.Reimar Döffinger2009-10-021-2/+2
| | | | Originally committed as revision 20142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove url_feof check that would be triggered only after incorrectly producingReimar Döffinger2009-10-021-2/+0
| | | | | | an empty packet and also av_get_packet already handles EOF now. Originally committed as revision 20140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless setting of pkt->size, av_get_packet already handles that.Reimar Döffinger2009-10-021-3/+0
| | | | Originally committed as revision 20139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.Diego Biurrun2009-09-221-91/+88
| | | | | | Fixes compilation with --disable-optimizations --disable-demuxers. Originally committed as revision 19961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move find_guid function and guid_data array to a globally available place.Diego Biurrun2009-09-221-23/+23
| | | | | | Fixes compilation with --disable-optimizations --disable-demuxer=w64. Originally committed as revision 19959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: whitespace, prettyprinting, coding style fixesDiego Biurrun2009-08-101-28/+29
| | | | Originally committed as revision 19618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sony Wave64 demuxerDaniel Verkamp2009-08-101-1/+119
| | | | | | patch by Daniel Verkamp, daniel drv nu Originally committed as revision 19617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefixes to exported symbols in libavformat/riff.h.Daniel Verkamp2009-06-221-10/+10
| | | | | | patch by Daniel Verkamp, aniel drv nu Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change find_tag return type to int64_t, fix a bugBaptiste Coudurier2009-06-031-6/+3
| | | | | | | where size is negative and url_fseek then seek backward causing infinite loop. This also support 4gb unsigned size. Originally committed as revision 19083 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
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-3/+3
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-031-4/+4
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid segfault due to not set AVCodec.Michael Niedermayer2008-09-241-1/+1
| | | | Originally committed as revision 15400 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add error message for unsupported codecs in WAVE.Justin Ruggles2008-09-141-0/+2
| | | | | | Resolves issue 623. Originally committed as revision 15322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace generic CONFIG_MUXERS preprocessor conditionals by more specificDiego Biurrun2008-09-021-2/+2
| | | | | | CONFIG_FOO_MUXER conditionals where appropriate. Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change codec_tag type from const struct AVCodecTag ** to const struct ↵Reimar Döffinger2008-08-241-2/+2
| | | | | | AVCodecTag * const * Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless close funcsBaptiste Coudurier2008-06-191-6/+1
| | | | Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-031-2/+2
| | | | | | | 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
* Decrease returning probe score for WAV demuxer to avoidVladimir Voroshilov2008-04-191-1/+6
| | | | | | | | probe conflict between WAV and future ACT demuxer. This is necessary because ACT has standard WAV header at top of it's own. Originally committed as revision 12909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-211-11/+11
| | | | | | | 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
* move unrelated functions declarations out of allformats.hAurelien Jacobs2007-09-111-1/+1
| | | | Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-191-3/+3
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).Panagiotis Issaris2007-07-191-1/+1
| | | | Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add an enum for need_parsingAurelien Jacobs2007-04-151-1/+1
| | | | Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FACT chunk for non-PCM wav formatsMichel Bardiaux2007-02-121-1/+32
| | | | Originally committed as revision 7950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better generic index building and seeking codeMichael Niedermayer2007-02-051-4/+3
| | | | Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of the [4] limitation of codec tag listsMichael Niedermayer2007-01-211-2/+2
| | | | Originally committed as revision 7596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add codec_id <-> codec_tag tables to AVIn/OutputFormatMichael Niedermayer2007-01-211-0/+2
| | | | Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace coder/decoder file description in libavformat by muxer/demuxerAurelien Jacobs2006-10-231-1/+1
| | | | Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move common stuff from avienc.c and wav.c to new file riff.cMåns Rullgård2006-07-121-182/+1
| | | | Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow individual selection of muxers and demuxersMåns Rullgård2006-07-101-15/+6
| | | | Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give AVInput/OutputFormat structs consistent namesMåns Rullgård2006-07-091-4/+4
| | | | Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --disable-muxers.Gianluigi Tiesi2006-07-051-1/+1
| | | | | | patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it Originally committed as revision 5632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move initialisations and internal symbols in allformats.h,Diego Pettenò2006-06-301-0/+1
| | | | | | | | | patch by Diego "Flameeyes" Petteno flameeyes AA gentoo PP org Original thread: Date: Jun 30, 2006 2:07 AM Subject: [Ffmpeg-devel] [PATCH] Move initialisations and internal symbols in allformats.h Originally committed as revision 5556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont read over the end of a data chunk and at the end search for the nextMichael Niedermayer2006-06-281-2/+16
| | | | Originally committed as revision 5537 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use standard codec tag if the specified tag is out of range and would beMåns Rullgård2006-06-161-1/+1
| | | | | | truncated Originally committed as revision 5488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* NuppelVideo/MythTVVideo support, including rtjpeg decoderReimar Döffinger2006-03-271-0/+4
| | | | Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk