Statistics
| Branch: | Revision:

ffmpeg / libavformat / wav.c @ 4dcde00c

History | View | Annotate | Download (11.7 KB)

# Date Author Comment
8978feda 04/03/2011 08:46 PM Anton Khirnov

avio: introduce an AVIOContext.seekable field

Use it instead of url_is_streamed and AVIOContext.is_streamed.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

b7f2fdde 03/17/2011 02:59 AM Anton Khirnov

avio: rename put_flush_packet -> avio_flush

Signed-off-by: Ronald S. Bultje <>

45a8a02a 03/17/2011 02:24 AM Anton Khirnov

lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense

Signed-off-by: Ronald S. Bultje <>

66e5b1df 03/07/2011 10:20 PM Anton Khirnov

avio: deprecate url_feof

AVIOContext.eof_reached should be used directly instead.

Signed-off-by: Ronald S. Bultje <>

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

Signed-off-by: Ronald S. Bultje <>

e356fc57 03/01/2011 05:22 PM Anton Khirnov

lavf: replace all uses of url_fskip with avio_seek

Signed-off-by: Ronald S. Bultje <>

6b4aa5da 03/01/2011 05:12 PM Anton Khirnov

avio: avio_ prefix for url_fseek

Signed-off-by: Ronald S. Bultje <>

0abdb293 02/25/2011 07:38 PM Anton Khirnov

lavf: use a new ffio_wfourcc macro instead of put_tag() where possible

Signed-off-by: Ronald S. Bultje <>

77eb5504 02/21/2011 07:25 PM Anton Khirnov

avio: avio: avio_ prefixes for put_* functions

In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write

put_nbyte will be made private
put_tag will be merged with avio_put_str

Signed-off-by: Ronald S. Bultje <>

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

avio: avio_ prefixes for get_* functions

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...

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

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.

f9329946 01/15/2011 05:13 PM Michael Niedermayer

Parse fact chunks from wav files to find duration.

Originally committed as revision 26370 to svn://svn.ffmpeg.org/ffmpeg/trunk

724b1f6a 01/15/2011 05:13 PM Michael Niedermayer

Factor tag reading code out of wav read_header()

Originally committed as revision 26369 to svn://svn.ffmpeg.org/ffmpeg/trunk

462b2620 01/15/2011 04:26 PM Michael Niedermayer

Set duration for wav files from sample size and data size or the wf64 sample 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

e94204df 08/30/2010 09:17 PM Aurelien Jacobs

move pcm demuxers to their own file

Originally committed as revision 24993 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0187d20 07/28/2010 08:17 AM Baptiste Coudurier

In wav muxer, always flush in write_trailer, fix pipe output

Originally committed as revision 24568 to svn://svn.ffmpeg.org/ffmpeg/trunk

f45a27dc 02/10/2010 08:27 PM Daniel Verkamp

Reindent

Originally committed as revision 21747 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7e0f88f 02/10/2010 08:26 PM Daniel Verkamp

Fix demuxing of wav files with broken data header

Originally committed as revision 21746 to svn://svn.ffmpeg.org/ffmpeg/trunk

70d8c762 10/06/2009 05:51 PM Daniel Verkamp

Reindent

Originally committed as revision 20182 to svn://svn.ffmpeg.org/ffmpeg/trunk

811e0fc2 10/06/2009 05:50 PM Daniel Verkamp

Add RF64 support to wav demuxer.

Originally committed as revision 20181 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fcb5113 10/02/2009 07:27 AM Reimar Döffinger

wav demuxer: return AVERROR_EOF instead of AVERROR when the end of
the file is reached normally, without any error.

Originally committed as revision 20143 to svn://svn.ffmpeg.org/ffmpeg/trunk

e581b628 10/02/2009 07:22 AM Reimar Döffinger

wav: return av_get_packet errors unchanged.

Originally committed as revision 20142 to svn://svn.ffmpeg.org/ffmpeg/trunk

fbc66301 10/02/2009 07:05 AM Reimar Döffinger

Remove url_feof check that would be triggered only after incorrectly producing
an empty packet and also av_get_packet already handles EOF now.

Originally committed as revision 20140 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a62a378 10/02/2009 07:03 AM Reimar Döffinger

Remove useless setting of pkt->size, av_get_packet already handles that.

Originally committed as revision 20139 to svn://svn.ffmpeg.org/ffmpeg/trunk

8f771e76 09/22/2009 11:19 AM Diego Biurrun

Rearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.
Fixes compilation with --disable-optimizations --disable-demuxers.

Originally committed as revision 19961 to svn://svn.ffmpeg.org/ffmpeg/trunk

738914be 09/22/2009 10:31 AM Diego Biurrun

Move find_guid function and guid_data array to a globally available place.
Fixes compilation with --disable-optimizations --disable-demuxer=w64.

Originally committed as revision 19959 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5e86106 08/10/2009 04:35 PM Diego Biurrun

cosmetics: whitespace, prettyprinting, coding style fixes

Originally committed as revision 19618 to svn://svn.ffmpeg.org/ffmpeg/trunk

740e89cf 08/10/2009 04:27 PM Daniel Verkamp

Sony Wave64 demuxer
patch by Daniel Verkamp, daniel drv nu

Originally committed as revision 19617 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a40491e 06/22/2009 11:09 PM Daniel Verkamp

Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk

502d6c0a 06/03/2009 10:36 PM Baptiste Coudurier

Change find_tag return type to int64_t, fix a bug
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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
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

f2d65a6c 09/24/2008 05:46 PM Michael Niedermayer

Avoid segfault due to not set AVCodec.

Originally committed as revision 15400 to svn://svn.ffmpeg.org/ffmpeg/trunk

5165651c 09/14/2008 05:29 PM Justin Ruggles

add error message for unsupported codecs in WAVE.
Resolves issue 623.

Originally committed as revision 15322 to svn://svn.ffmpeg.org/ffmpeg/trunk

8212568a 09/02/2008 10:45 PM Diego Biurrun

Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate.

Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1854592 08/24/2008 04:51 PM Reimar Döffinger

Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *

Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b64a036 06/19/2008 11:25 PM Baptiste Coudurier

remove useless close funcs

Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
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

c6cd525a 04/19/2008 02:52 PM Vladimir Voroshilov

Decrease returning probe score for WAV demuxer to avoid
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

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

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

7241a6bb 09/11/2007 09:27 AM Aurelien Jacobs

move unrelated functions declarations out of allformats.h

Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk

d794d388 02/12/2007 03:57 PM Michel Bardiaux

Add FACT chunk for non-PCM wav formats

Originally committed as revision 7950 to svn://svn.ffmpeg.org/ffmpeg/trunk

e9b78eeb 02/05/2007 11:04 PM Michael Niedermayer

better generic index building and seeking code

Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c77805f 01/21/2007 12:08 PM Michael Niedermayer

get rid of the [4] limitation of codec tag lists

Originally committed as revision 7596 to svn://svn.ffmpeg.org/ffmpeg/trunk

7caf0cc6 01/21/2007 01:39 AM Michael Niedermayer

add codec_id <-> codec_tag tables to AVIn/OutputFormat

Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d9f4119 07/12/2006 12:09 AM Måns Rullgård

move common stuff from avienc.c and wav.c to new file riff.c

Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

277e84f5 07/05/2006 10:01 PM Gianluigi Tiesi

Fix compilation with --disable-muxers.
patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it

Originally committed as revision 5632 to svn://svn.ffmpeg.org/ffmpeg/trunk

e006c307 06/30/2006 07:41 AM Diego Pettenò

Move initialisations and internal symbols in allformats.h,
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
...

b582d7ba 06/28/2006 10:51 AM Michael Niedermayer

dont read over the end of a data chunk and at the end search for the next

Originally committed as revision 5537 to svn://svn.ffmpeg.org/ffmpeg/trunk

79d1ec91 06/16/2006 08:45 PM Måns Rullgård

use standard codec tag if the specified tag is out of range and would be
truncated

Originally committed as revision 5488 to svn://svn.ffmpeg.org/ffmpeg/trunk

dfca23e3 03/27/2006 10:22 PM Reimar Döffinger

NuppelVideo/MythTVVideo support, including rtjpeg decoder

Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf3027c8 01/03/2006 02:30 AM Diego Biurrun

TrueSpeech compatible audio decoder by Konstantin Shishkov

Originally committed as revision 4803 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

1fd7ec44 11/13/2005 09:18 AM Corey Hickey

DTS is 0x2001 according to: http://www1.mplayerhq.hu/MPlayer/DOCS/codecs-status.html
Patch by Corey Hickey < bugfood DAH ml AH fatooh POIS org >

Originally committed as revision 4700 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk

b461b3bc 09/02/2005 07:16 PM Reimar Döffinger

Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).

Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

694eaead 07/15/2005 09:14 AM Vidar Madsen

Yamaha ADPCM in wav patch by (Vidar Madsen: vidarino, gmail com)

Originally committed as revision 4443 to svn://svn.ffmpeg.org/ffmpeg/trunk

58d2a150 03/23/2005 12:35 PM Calcium

28_fix_parameters_in_G726.patch by (Calcium | calcium nurs or jp)

Originally committed as revision 4070 to svn://svn.ffmpeg.org/ffmpeg/trunk

a50ff23c 02/25/2005 11:15 AM Alex Beregszaszi

pseudo codec tag for adpcm_swf

Originally committed as revision 3981 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1e568bd 01/12/2005 06:42 PM Michael Niedermayer

wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)

Originally committed as revision 3831 to svn://svn.ffmpeg.org/ffmpeg/trunk

3129cd01 11/13/2004 01:27 AM Michael Niedermayer

allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end

Originally committed as revision 3679 to svn://svn.ffmpeg.org/ffmpeg/trunk

359fa0fe 11/06/2004 07:11 PM Michael Niedermayer

cbr audio muxing fix

Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ba7c3d7 10/22/2004 01:51 AM Michael Niedermayer

set keyframe flag at a more central place instead of in every demuxer for containers which only store intra only streams

Originally committed as revision 3620 to svn://svn.ffmpeg.org/ffmpeg/trunk

595bf4ef 10/18/2004 09:43 AM Michael Niedermayer

set correct timebase

Originally committed as revision 3607 to svn://svn.ffmpeg.org/ffmpeg/trunk

ecc2c0a4 10/15/2004 10:06 PM Nathan Kurz

set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)

Originally committed as revision 3596 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3bfb299 10/12/2004 12:47 PM Mike Melanson

Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov

Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b3c1382 10/11/2004 11:53 PM Michael Niedermayer

100l (forgoten seeking functions)

Originally committed as revision 3585 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca377212 10/06/2004 08:12 PM Måns Rullgård

untested AAC in WAV/AVI patch by (Måns Rullgård <mru at mru dot ath dot cx>)

Originally committed as revision 3565 to svn://svn.ffmpeg.org/ffmpeg/trunk

c4f8d5d9 09/22/2004 08:01 PM Michael Niedermayer

write shorter headers if possible

Originally committed as revision 3494 to svn://svn.ffmpeg.org/ffmpeg/trunk

7251dfaf 08/21/2004 07:24 PM Alex Beregszaszi

unofficial ids for sonic for using in nut (fixme)

Originally committed as revision 3406 to svn://svn.ffmpeg.org/ffmpeg/trunk

23c99253 07/14/2004 01:32 AM Michael Niedermayer

libdts support by (Benjamin Zores <ben at geexbox dot org>)

Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk

5062c202 04/04/2004 08:00 PM Michael Niedermayer

10l

Originally committed as revision 2963 to svn://svn.ffmpeg.org/ffmpeg/trunk

6748046e 04/04/2004 07:28 PM Michael Niedermayer

store extradata, vorbis in avi works now, dont expect av sync though

Originally committed as revision 2962 to svn://svn.ffmpeg.org/ffmpeg/trunk

2926db54 04/04/2004 07:18 PM Michael Niedermayer

some random id for vorbis so we can do some experiments with vorbis in various containers, anyone knows if vorbis in WAV/AVI has a official id?

Originally committed as revision 2961 to svn://svn.ffmpeg.org/ffmpeg/trunk

c3775e54 03/13/2004 11:04 PM Ronald S. Bultje

fix global name conflicts patch by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)

Originally committed as revision 2884 to svn://svn.ffmpeg.org/ffmpeg/trunk

361b1b86 03/10/2004 03:54 AM Brian Becker

Correcting the header size for ADPCM_IMA_WAV files patch by (Brian Becker <brian dot becker at palmone dot com>)

Originally committed as revision 2867 to svn://svn.ffmpeg.org/ffmpeg/trunk

e5966052 02/07/2004 08:20 AM Roman Shaposhnik
  • Initial implementation of the G.726 ADPCM audio codec.

Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9b5459e 11/10/2003 06:44 PM Fabrice Bellard

seeking support - fixed some ADPCM decoding cases

Originally committed as revision 2500 to svn://svn.ffmpeg.org/ffmpeg/trunk

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk

80783dc2 09/08/2003 10:04 PM Fabrice Bellard

CODEC_ID_MP3LAME is obsolete

Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk

048446bf 09/08/2003 04:15 AM Mike Melanson

support for Duck DK3 and DK4 ADPCM

Originally committed as revision 2219 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd5a6020 08/18/2003 09:20 AM Michael Niedermayer

use codec_tag for encoding too

Originally committed as revision 2125 to svn://svn.ffmpeg.org/ffmpeg/trunk

e0ece99a 03/12/2003 06:45 PM Michael Niedermayer

sorry forgot

Originally committed as revision 1671 to svn://svn.ffmpeg.org/ffmpeg/trunk

2e7973bb 03/12/2003 01:35 AM Roman Shaposhnik

correct AUDIO strf parsing patch by (Roman Shaposhnick <rvs at sun dot com>)

Originally committed as revision 1664 to svn://svn.ffmpeg.org/ffmpeg/trunk