Ramiro Polla
0ec7b71de8
Do not read out of array bounds.
...
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:07:46 +00:00
Justin Ruggles
512b37bb28
move call to init_get_bits inside conditional
...
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:35:32 +00:00
Justin Ruggles
9482171bbd
share streaminfo parsing function
...
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:34:34 +00:00
Justin Ruggles
9d48410f14
split out some decoder context params to a shared macro
...
Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:33:14 +00:00
Justin Ruggles
4bc07e78b8
change function parameters for dump_headers()
...
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:30:32 +00:00
Justin Ruggles
a128cc91f3
change function parameters for metadata_streaminfo()
...
Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:29:49 +00:00
Justin Ruggles
b88e657628
remove unused variable, min_framesize
...
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 01:29:35 +00:00
Stefano Sabatini
d5202e4fda
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
2008-04-27 10:52:44 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Michael Niedermayer
1545c5e535
const
...
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Josh Coalson
0cb2774a4a
Add decoding support for variable block size FLAC files using the latest FLAC
...
specification. Patch by Josh Coalson.
Originally committed as revision 10916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 00:06:33 +00:00
Josh Coalson
e471443ab5
Add support for FLAC's new RICE2 entropy coding method. Patch by Josh Coalson.
...
Originally committed as revision 10915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 23:54:50 +00:00
Loren Merritt
d1a5c4216c
20% faster lpc, 6% overall flac decoding
...
Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:01:56 +00:00
Loren Merritt
08965b22e2
replace FIR with finite differences.
...
3x faster decode_subframe_fixed().
overall flac decoding: 10% faster if file was encoded with fixed predictors.
Originally committed as revision 10626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 02:12:03 +00:00
Loren Merritt
bd49d4fd49
optimize decode_subframe_lpc()
...
50%/67%/43% faster on core2/k8/p4, making flac decoding overall 24%/25%/11% faster
Originally committed as revision 10586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:31:13 +00:00
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00
Benoit Fouet
71fd12253d
add and remove some parentheses
...
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 09:32:04 +00:00
Michael Donaghy
3cce801a0b
fix 8- and 24-bit FLAC decoding
...
Patch by Michael Donaghy %md401 A cam P ac P uk%
Original thread:
date: Jun 10, 2007 4:48 PM
subject: [FFmpeg-devel] [PATCH] Bugfix: decoding 8- and 24-bit FLAC files
Originally committed as revision 9286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:43 +00:00
Reimar Döffinger
5484dad7f6
Fix crash when pred_order greater s->blocksize >> rice_order.
...
Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac
Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 09:55:28 +00:00
Michael Niedermayer
ac66834c75
avcodec_decode_audio2()
...
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space
Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:50:06 +00:00
Aurelien Jacobs
17c90b9d62
flac: allow reading of full metadata headers from extradata
...
Originally committed as revision 7161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:22:03 +00:00
Diego Biurrun
b78e7197a8
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
2006-10-07 15:30:46 +00:00
Aurelien Jacobs
75c998a219
force usage of ALT_BITSTREAM_READER where needed
...
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:46:01 +00:00
Michael Niedermayer
9d82b0dda1
moving utf8 reading function to libavutil
...
Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:43:32 +00:00
Michael Niedermayer
c448303df6
seems i forgot to commit this simplification ...
...
Originally committed as revision 5662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:41:43 +00:00
Luca Barbato
0187178e07
fix 24bit flac support, revised from Thibaut Mattern <thibaut.mattern@gmail.com>
...
Originally committed as revision 5507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-21 00:21:26 +00:00
Michael Niedermayer
b865838ea2
switch flac to av_crc
...
Originally committed as revision 5117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 15:09:04 +00:00
Diego Biurrun
f038fe8b4a
warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
...
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
1cef211dca
AV_LOG_DEBUG vs. AV_LOG_ERROR
...
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 09:28:46 +00:00
Mike Melanson
160d679c07
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
...
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Loren Merritt
56b31a8ee2
10l (deallocated memory again)
...
Originally committed as revision 3994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-28 05:27:21 +00:00
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Loren Merritt
09f20d3786
Fix a crash when multiple metadata packets are present.
...
Originally committed as revision 3965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-20 23:21:50 +00:00
Michael Niedermayer
db2fcbbdb3
10l (use of deallocated memory)
...
Originally committed as revision 3936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:53:35 +00:00
Michael Niedermayer
caa336b4cc
common.c -> bitstream.c (and the single non bitstream func -> utils.c)
...
common.h -> common.h/bitstream.h
Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Alex Beregszaszi
41aecb13f3
skip_utf8, unused yet
...
Originally committed as revision 3256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:19 +00:00
Mike Melanson
3f1899a834
warning vigilance
...
Originally committed as revision 3221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-13 23:40:54 +00:00
Mike Melanson
9eda2f94c7
attempt to create some separation in the FLAC system with respect to
...
demuxer and decoder layers by enabling the FLAC decoder to decode data
without needing the entire file, from start to finish
Originally committed as revision 3211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 04:13:43 +00:00
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Falk Hüffner
7906085fcc
warning patrol
...
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Zdenek Kabelac
62c438a241
* const warn elimintation
...
Originally committed as revision 2845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:08:33 +00:00
Michael Niedermayer
1e31d32c34
flac_flush()
...
Originally committed as revision 2797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 15:17:54 +00:00
Michael Niedermayer
0496a03413
simplify
...
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them
Originally committed as revision 2796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 14:05:49 +00:00
Michael Niedermayer
9d65611096
crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
...
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms
Originally committed as revision 2793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 04:10:52 +00:00
Michael Niedermayer
4fd125984b
remove residual array, it isnt really needed
...
Originally committed as revision 2792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 02:00:55 +00:00
Michael Niedermayer
ac2570a8b0
flac fixes:
...
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size
Originally committed as revision 2791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 01:49:30 +00:00