Justin Ruggles
549bccdbe4
flacdec: Handle 32 bps data when checking allocated size.
...
Originally committed as revision 17814 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
a3d2379bdd
flacdec: Check curr_bps after wasted bits are subtracted.
...
Originally committed as revision 17813 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e1374c06d6
flacdec: When there is not enough data to read the next header block,
...
reset the bitstream reader instead of skipping backwards.
Originally committed as revision 17798 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6a85fb34c9
cosmetics: indentation after last commit
...
Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
55a727383b
flacdec: Check for an inline header before calling metadata_parse().
...
Originally committed as revision 17795 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
239b961fbf
flacdec: Allocate buffers right after STREAMINFO is parsed.
...
Originally committed as revision 17794 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
184bc53db4
cosmetics: indentation after last commit
...
Originally committed as revision 17791 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
7d0303587d
flacdec: Avoid parsing the STREAMINFO multiple times.
...
Originally committed as revision 17790 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
2e78513cee
flacdec: Warn about invalid max blocksize and limit the minimum value.
...
Originally committed as revision 17751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0c89ca72a5
cosmetics: remove a pointless comment
...
Originally committed as revision 17749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
95db6659d8
flacdec: Remove unused variable, min_blocksize.
...
Originally committed as revision 17748 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
dde318d5d9
flacdec: Return error when blocksize code of 0 is found. It is a
...
reserved value per the FLAC format documentation.
Originally committed as revision 17747 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5b37e2fc9a
flacdec: Avoid trying to read 33 bits. This occurs when the source
...
is 32 bits-per-sample and channel decorrelation is used. Such files
are valid, but not supported currently.
Originally committed as revision 17743 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
505cc62f75
flacdec: ALT_BITSTREAM_READER is no longer required.
...
Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9de6e090a7
flacdec: use get_sbits_long() where needed.
...
Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ee4d0322e8
flacdec: Use get/skip_bits_long() for more than 17-bits and
...
get/skip_bits() for 17-bits or less.
Originally committed as revision 17735 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
26adc8d086
cosmetics: line wrap and indentation after last commit.
...
Originally committed as revision 17603 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
59c6178a54
Use a shared function to validate FLAC extradata.
...
Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Patrik Kullman
7846418bdb
flacdec: Silence false positive warning about uninitialized variables in
...
decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).
Originally committed as revision 17386 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
faeb2bd41d
flacdec: set default sample_fmt before parsing extradata
...
Originally committed as revision 16926 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
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
16 years ago
Justin Ruggles
7f3a6a0553
cosmetics: change comment type and vertical alignment
...
Originally committed as revision 16882 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
64cb376562
cosmetics: add some documentation to FLACContext
...
Originally committed as revision 16881 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
82159ad992
flacdec: add support for SAMPLE_FMT_32
...
Originally committed as revision 16871 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
aeb987cebf
flacdec: get total number of samples from STREAMINFO
...
Originally committed as revision 16768 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ce7e82144f
move FLAC_STREAMINFO_SIZE to flac.h
...
Originally committed as revision 16766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d38b88213e
define FLAC metadata types in flac.h
...
Originally committed as revision 16765 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9f3d3ecf92
flacdec: cosmetics: some line wrapping at 80 chars
...
Originally committed as revision 16763 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1df0390eed
flacdec: cosmetics: indentation
...
Originally committed as revision 16762 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1bec121f9e
flacdec: cosmetics: use consistent coding style (K&R)
...
Originally committed as revision 16761 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
13de8a080a
cosmetics: indentation
...
Originally committed as revision 16753 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5305f40bb8
flacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR
...
Originally committed as revision 16752 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9f2db54594
flacdec: remove another unneeded debugging statement
...
Originally committed as revision 16751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f7f3e3bf4a
flacdec: remove unneeded debugging statements
...
Originally committed as revision 16750 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
c5706efd57
flacdec: remove some unused code
...
Originally committed as revision 16749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
8f51144bf4
rename flac.c to flacdec.c
...
Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
959e000627
flacdec: add support for 3 additional sample rate codes
...
Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
d3ce0792c2
fix issue 616 on roundup : decoding of short flac files
...
Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
fd76c37fd9
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
17 years ago
Michael Niedermayer
e0168e3b9c
Support reading large metadata.
...
fixes issue187
Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1e77df15dd
Make bitstream_* fields unsigned.
...
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cfcd396bae
Only realloc() bitstream buffer when the needed size increased,
...
this is needed to prevent loosing bitstream data with large metadata.
Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2b4b8c824e
If metadata has been parsed goto end instead of trying to
...
decorrelate and output somehing nonexistng.
Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4c453ddbbc
Make our flac decoder decode all the data at EOF.
...
Fixes issue524
Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefan Gehrer
cf2baeb338
mark read-only data as const
...
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
1f4fa6a4ef
Indent.
...
Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
0ec7b71de8
Do not read out of array bounds.
...
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
512b37bb28
move call to init_get_bits inside conditional
...
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago