| Branch: | Revision:

ffmpeg / libavformat / amr.c @ acaceca2

History | View | Annotate | Download (4.8 KB)

# Date Author Comment
af79dd36 03/21/2011 08:31 PM Martin Storsjö

amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.

026fa81d 03/21/2011 08:31 PM Martin Storsjö

amr: Set the pkt->pos field properly to the start of the packet

Previously, the field pointed to the second byte of the packet
(which is the first byte of the actual AMR payload).

2890cba8 03/21/2011 08:31 PM Martin Storsjö

amr: Set the codec->bit_rate field based on the last packet

This allows libavformat to guess an estimated duration for
amr files.

For streams with varying bit rates (or with silence descriptors
or "no frame" blocks) the guess is, of course, inaccurate.

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

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

bbc413f9 02/25/2011 07:38 PM Anton Khirnov

lavf: replace remaining uses of put_tag with avio_write

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.

8bb90c53 09/03/2010 02:59 PM Martin Storsjö

Set frame_size in the amr demuxer

Originally committed as revision 25030 to svn://

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://

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://

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://

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
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://

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://

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

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://

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

Replace all occurrences of AVERROR_NOMEM with AVERROR.

Originally committed as revision 9759 to svn://

f015e411 07/07/2007 01:46 PM Måns Rullgård

kill uninitialised variable warning in amr_read_packet()

Originally committed as revision 9522 to svn://

7cf09995 06/27/2007 06:54 AM Vitor Sessak

remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9442 to svn://

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

Originally committed as revision 8677 to svn://

d95442c0 10/10/2006 11:59 PM Michael Niedermayer

unused #define

Originally committed as revision 6638 to svn://

ab2c12ec 10/10/2006 11:57 PM Michael Niedermayer

remove dummy amr_read_close()

Originally committed as revision 6637 to svn://

b4963892 10/10/2006 11:56 PM Michael Niedermayer

more factoriztaion and a FIXME note

Originally committed as revision 6636 to svn://

d84fd5d1 10/10/2006 11:53 PM Michael Niedermayer

factorze another 2 lines

Originally committed as revision 6635 to svn://

ce2f3c8b 10/10/2006 11:49 PM Michael Niedermayer

set duration and timebase (based on a patch by Simon Morlat simon.morlat linphone org)

Originally committed as revision 6634 to svn://

b1bf48aa 10/10/2006 11:45 PM Michael Niedermayer

factorize (untested)

Originally committed as revision 6633 to svn://

effdc8ef 10/10/2006 11:28 PM Michael Niedermayer

return cleanup

Originally committed as revision 6632 to svn://

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://

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

Originally committed as revision 6355 to svn://

ed4e20ac 08/08/2006 10:24 AM Diego Biurrun

Fix some "'static' is not at beginning of declaration" warnings.

Originally committed as revision 5956 to svn://

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://

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

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://

0e6c947d 01/22/2006 01:50 PM Gianluigi Tiesi

Place proper #ifdef around muxer-specific code.
patch by Gianluigi Tiesi < mplayer at@at netfarm it >

Originally committed as revision 4880 to svn://

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

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://

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

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://

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://

2692067a 05/26/2005 08:17 PM Michael Niedermayer


Originally committed as revision 4314 to svn://

93ccc14d 04/24/2005 11:15 AM Roberto Togni

Put correct fourcc in tag field for amr_nb (samr) and amr_wb (sawb)

Originally committed as revision 4152 to svn://

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

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://

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://

d663a1fd 09/28/2003 08:34 PM Michael Niedermayer

AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)

Originally committed as revision 2311 to svn://

2f4db4d5 06/18/2003 10:24 PM Johannes Carlsson

amr typefix patch by (Johannes Carlsson <joca at rixmail dot se>)

Originally committed as revision 1972 to svn://

067cbf31 06/06/2003 11:47 AM Zdenek Kabelac
  • amr format - by Johannes Carlsson

Originally committed as revision 1934 to svn://