Statistics
| Branch: | Revision:

ffmpeg / libavcodec / alac.c @ 313b52fb

History | View | Annotate | Download (22.7 KB)

# Date Author Comment
313b52fb 10/26/2010 07:20 AM Jason Garrett-Glaser

Clean up ALACdec
Do decode init in the init function instead of at the first frame.
Fix some possible crash cases.

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

986f143a 06/24/2010 08:26 AM Måns Rullgård

alac: change VLAs to fixed size

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

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

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

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://svn.ffmpeg.org/ffmpeg/trunk

f6d29165 02/06/2010 12:52 PM Jai Menon

Avoid using an intermediate variable.

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

b53ae8b6 02/06/2010 12:48 PM Jai Menon

Remove redundant use of numchannels since it is 1 for mono.

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

e243eee4 02/06/2010 12:38 PM Jai Menon

alac.c : Use av_freep instead of av_free.

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

f430c7b6 02/04/2010 04:21 PM Jai Menon

Add ALAC 24 bps decoding support.

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

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

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames....

6053da01 03/03/2009 04:57 AM Justin Ruggles

alacdec: Simplify reading of uncompressed samples by using
get_sbits_long().

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

8858990f 03/03/2009 01:53 AM Måns Rullgård

ALAC: use sign_extend() from mathops.h

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

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

9345ae6f 09/08/2008 07:05 PM Baptiste Coudurier

alac : fix case where bits_per_sample is not set.
Patch by Baptiste

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

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

Bump Major version, this commit is almost just renaming bits_per_sample to
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...

95801b6a 08/22/2008 03:09 PM Matthieu Castet

alac : check readsamplesize to ensure get_bits() doesn't
fail. Patch by Matthieu Castet <castet.matthieu AT free fr>

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

fd76c37f 07/31/2008 10:47 AM Peter Ross

Modify all codecs to report their supported input and output sample format(s).

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

66b26265 06/15/2008 06:01 PM Jai Menon

fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

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

6827f6f2 05/11/2008 06:14 PM Matthieu Castet

cosmetics: indent after last commit. patch by matthieu castet <castet matthieu free fr>.

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

e5838c90 05/11/2008 06:13 PM Matthieu Castet

simplify decoding of uncompressed samples. patch by matthieu castet <castet matthieu free fr>.

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

59d598b9 05/11/2008 04:25 AM Justin Ruggles

fix reading of samples-per-frame

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

f7739f37 05/03/2008 09:06 PM Michael Niedermayer

Output buffer overflow.

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

494e3531 05/03/2008 09:01 PM Michael Niedermayer

Heap buffer overflow.

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

83e9a67d 05/03/2008 08:56 PM Michael Niedermayer

Fix memset(0) based buffer overflow.

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

d5202e4f 04/27/2008 10:52 AM Stefano Sabatini

Add long names to many AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

e5ab7379 04/18/2008 08:58 AM Matthieu Castet

check alac EOF marker
Patch by Matthieu Castet castet matthieu free fr

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

010db103 04/17/2008 09:03 PM Vitor Sessak

Remove another unneeded var from context

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

4c63c597 04/17/2008 07:48 PM Vitor Sessak

10l: my last commit broke compilation and introduced warnings

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

db08882e 04/17/2008 07:45 PM Vitor Sessak

Remove unneeded variables from context

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

8431603a 04/17/2008 06:50 PM Vitor Sessak

Remove wrapper around av_log2()

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

1f655c4f 04/17/2008 03:22 AM Michael Niedermayer

indent

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

5eeba07e 04/17/2008 03:21 AM Michael Niedermayer

Factorize more code.

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

5a5a27c5 04/17/2008 03:08 AM Michael Niedermayer

Factorize decode_postfix() out.

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

c49c5e23 04/17/2008 03:00 AM Michael Niedermayer

Change k limiting code, i think the code was buggy.
If you have ALAC files TEST them! Mine produce the same md5 but the new
code is not identical if limiting does happen.

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

59b377ac 04/17/2008 02:40 AM Michael Niedermayer

more senseless code
One wonders how such stuff gets past the reviews ...

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

26df3ba2 04/17/2008 02:38 AM Michael Niedermayer

senseless code

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

ec04a74e 04/17/2008 02:35 AM Michael Niedermayer

useless variable

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

ea3372a2 04/17/2008 02:30 AM Michael Niedermayer

simplify

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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

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

b5777b94 02/01/2008 03:39 AM Michael Niedermayer

const

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

52b541ad 12/01/2007 10:21 PM Vitor Sessak

spelling

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

becc0ef9 09/01/2007 09:03 PM Vitor Sessak

Remove reimplementation of get_unary.
Based on a patch by Alex Beregszaszi.

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

11f81e6a 08/31/2007 06:51 PM Vitor Sessak

Cosmetical: Empty line removal

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

63ecfc1f 08/31/2007 03:05 PM Vitor Sessak

Comment about unsupported sample size

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

aa33d809 08/30/2007 04:40 PM Vitor Sessak

Rename function

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

321c3138 08/30/2007 04:04 PM Vitor Sessak

Replace two #define's by inline functions

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

7ae7300e 08/09/2007 12:57 AM Alex Beregszaszi

use skip_bits where appropriate

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

5fc32c27 08/09/2007 12:13 AM Alex Beregszaszi

use get_bits1(..) instead get_bits(.., 1)

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

92df8910 08/07/2007 12:53 PM Vitor Sessak

More indentation

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

db695867 08/07/2007 12:50 PM Vitor Sessak

Cosmetics: indentation

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

4a5e6389 08/07/2007 12:44 PM Vitor Sessak

Rename function

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

d58d7ade 07/24/2007 06:21 PM Vitor Sessak

Minor cosmetics

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

9c8d9f25 07/18/2007 08:23 PM Vitor Sessak

Another minor simplification

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

c9128d56 07/18/2007 02:45 PM Vitor Sessak

Make deinterlace_16 receive an array as a parameter and not two separated vars

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

b37bce6b 07/18/2007 02:37 PM Vitor Sessak

Minor simplification

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

60c4a31c 07/18/2007 02:36 PM Vitor Sessak

Yet more cosmetics

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

10024d44 07/18/2007 02:29 PM Vitor Sessak

More cosmetics

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

d0da8020 07/18/2007 02:15 PM Vitor Sessak

Remove reimplementation of av_log2

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

f1752010 07/18/2007 06:45 AM Vitor Sessak

Test for supported number of channels

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

586e5bd9 07/18/2007 06:27 AM Vitor Sessak

Cosmetics: indentation

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

a1301f29 07/18/2007 06:17 AM Vitor Sessak

Cosmetics: alignment

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

10fb5763 07/18/2007 06:06 AM Vitor Sessak

Remove more code duplication. Based on a patch by Matthieu Castet.

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

d562ba23 07/17/2007 11:51 PM Vitor Sessak

Move var. declaration to allow further clean up

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

7f268016 07/17/2007 10:05 PM Vitor Sessak

Remove code duplication. Based on a patch by Matthieu Castet.

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

e3be5693 07/13/2007 12:06 AM Vitor Sessak

Make "channels" variable mean the number of channels, not the number of
channels minus one

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

3e582fbb 07/12/2007 12:23 AM Diego Biurrun

license header consistency: Remove redundant "all rights reserved" statement
that is rendered meaningless by subsequent grant of rights through the LGPL.

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

f79488d4 07/10/2007 05:50 PM Vitor Sessak

Use proper bytestream functions

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

153696a6 07/10/2007 02:30 PM Vitor Sessak

Prepare to remove more duplicated code
Based on a patch by Matthieu Castet

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

a562e2e6 07/10/2007 01:32 PM Vitor Sessak

Remove some duplicated code

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

5b154bd5 07/10/2007 03:40 AM Vitor Sessak

Port some useful comments from newest version of David Hammerton's decoder (from which alac.c is based)

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

fead30d4 01/19/2007 10:12 PM Alex Beregszaszi

rename BE/LE_8/16/32 to AV_RL/B_8/16/32

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

1e25a7e7 11/22/2006 01:11 AM Matthias Hopf

fix some potential security issues, patch by Matthias Hopf, mat at mshopf dot de

Originally committed as revision 7153 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

7b49ce2e 06/18/2006 11:33 AM Stefan Huehner

Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

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

3a1a7e32 05/13/2006 10:45 AM Michael Niedermayer

sanity checks, some might have been exploitable ...

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

415d10d0 05/10/2006 11:59 AM Baptiste Coudurier

fix alac decoder on little endian

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

a1db1fc4 02/21/2006 12:03 AM Alex Beregszaszi

explain extradata and pass avctx to av_log's

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

1b47fafd 01/28/2006 04:05 PM Dieter

make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)

Originally committed as revision 4905 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

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

41a33f51 07/02/2005 07:43 PM Alex Beregszaszi

100l - this has only worked on big endian

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

6d021b00 03/10/2005 05:34 AM Mike Melanson

replace custom bit-reading functions with FFmpeg's internal function;
roll alac_file data structure members into ALACContext

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

fc90504b 03/06/2005 02:48 PM Mike Melanson

get rid of nasty exit()'s so the decoder will only warn the user before
it runs off the end of a buffer; eventually, this should be replaced
with FFmpeg's internal bit reader which is hopefully more robust

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

f770ee03 03/06/2005 07:00 AM Mike Melanson

decoder works fine now, when fed properly-sized chunks by the demuxer;
cleaned up some cruft for this commit

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

7ff85a81 03/06/2005 06:22 AM Mike Melanson

do not use a variable before proper initialization

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

6d6d7970 03/06/2005 12:43 AM Mike Melanson

first pass at ALAC decoder from David Hammerton; while David's original
decoder works great, this decoder is not completely and seamlessly
integrated yet with FFmpeg

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