summaryrefslogtreecommitdiff
path: root/libavcodec/flac.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: line wrap after last commitJustin Ruggles2010-12-071-7/+14
| | | | Originally committed as revision 25913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be usedMichael Chinen2010-12-071-9/+9
| | | | | | | to optionally silence the error messages. Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them inMichael Chinen2010-12-071-3/+4
| | | | | | | ff_flac_decode_frame_header(). Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check validity of the frame sync code in ff_flac_decode_frame_header().Michael Chinen2010-12-071-1/+7
| | | | | | Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move decode_frame_header() from flacdec.c to flac.c/h to share with theMichael Chinen2010-12-071-0/+94
| | | | | | | forthcoming FLAC parser. Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a function to calculate a more accurate estimate for maximum FLACJustin Ruggles2009-03-211-0/+43
| | | | | | frame size and use the function in the FLAC decoder and FLAC encoder Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename flac.c to flacdec.cJustin Ruggles2009-01-231-795/+0
| | | | Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: add support for 3 additional sample rate codesJustin Ruggles2009-01-221-2/+3
| | | | Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix issue 616 on roundup : decoding of short flac filesJai Menon2008-09-031-1/+1
| | | | Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support reading large metadata.Michael Niedermayer2008-07-181-1/+14
| | | | | | fixes issue187 Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make bitstream_* fields unsigned.Michael Niedermayer2008-07-181-2/+2
| | | | Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only realloc() bitstream buffer when the needed size increased,Michael Niedermayer2008-07-181-1/+2
| | | | | | this is needed to prevent loosing bitstream data with large metadata. Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If metadata has been parsed goto end instead of trying toMichael Niedermayer2008-07-181-3/+3
| | | | | | decorrelate and output somehing nonexistng. Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make our flac decoder decode all the data at EOF.Michael Niedermayer2008-07-131-1/+2
| | | | | | Fixes issue524 Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-241-3/+3
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-1/+1
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indent.Ramiro Polla2008-05-041-4/+4
| | | | Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read out of array bounds.Ramiro Polla2008-05-041-0/+4
| | | | Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move call to init_get_bits inside conditionalJustin Ruggles2008-05-021-1/+1
| | | | Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share streaminfo parsing functionJustin Ruggles2008-05-021-8/+7
| | | | Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split out some decoder context params to a shared macroJustin Ruggles2008-05-021-4/+4
| | | | Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change function parameters for dump_headers()Justin Ruggles2008-05-021-8/+8
| | | | Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change function parameters for metadata_streaminfo()Justin Ruggles2008-05-021-17/+20
| | | | Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused variable, min_framesizeJustin Ruggles2008-04-291-3/+3
| | | | Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ;;Michael Niedermayer2008-02-191-1/+1
| | | | Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-1/+1
| | | | Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-041-1/+2
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add decoding support for variable block size FLAC files using the latest FLACJosh Coalson2007-11-041-2/+2
| | | | | | specification. Patch by Josh Coalson. Originally committed as revision 10916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for FLAC's new RICE2 entropy coding method. Patch by Josh Coalson.Josh Coalson2007-11-031-3/+3
| | | | Originally committed as revision 10915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 20% faster lpc, 6% overall flac decodingLoren Merritt2007-09-301-15/+18
| | | | Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace FIR with finite differences.Loren Merritt2007-09-301-16/+17
| | | | | | | 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
* optimize decode_subframe_lpc()Loren Merritt2007-09-251-3/+18
| | | | | | 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
* use get_bits1(..) instead get_bits(.., 1)Alex Beregszaszi2007-08-091-1/+1
| | | | Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add and remove some parenthesesBenoit Fouet2007-06-141-3/+3
| | | | Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 8- and 24-bit FLAC decodingMichael Donaghy2007-06-121-14/+3
| | | | | | | | | 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
* Fix crash when pred_order greater s->blocksize >> rice_order.Reimar Döffinger2007-01-211-0/+4
| | | | | | Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avcodec_decode_audio2()Michael Niedermayer2007-01-141-2/+8
| | | | | | 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
* flac: allow reading of full metadata headers from extradataAurelien Jacobs2006-11-231-47/+56
| | | | Originally committed as revision 7161 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
* force usage of ALT_BITSTREAM_READER where neededAurelien Jacobs2006-08-281-0/+1
| | | | Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moving utf8 reading function to libavutilMichael Niedermayer2006-07-071-44/+3
| | | | Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* seems i forgot to commit this simplification ...Michael Niedermayer2006-07-071-37/+14
| | | | Originally committed as revision 5662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 24bit flac support, revised from Thibaut Mattern <thibaut.mattern@gmail.com>Luca Barbato2006-06-211-14/+39
| | | | Originally committed as revision 5507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* switch flac to av_crcMichael Niedermayer2006-03-061-47/+2
| | | | Originally committed as revision 5117 to svn://svn.ffmpeg.org/ffmpeg/trunk
* warning fixes by Luca Abeni, lucabe72 ##@## email ##.## itDiego Biurrun2006-01-251-1/+1
| | | | Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk