Michael Niedermayer
6567c59c49
avcodec/flac: forward errors from ff_flac_parse_streaminfo()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Hendrik Leppkes
2cad7eebc1
avcodec/flac: remove avpriv parsing API cruft
9 years ago
Anton Khirnov
acc897e6b1
lavc: make avpriv_flac_is_extradata_valid() private on the next bump
10 years ago
Anton Khirnov
c070a87515
lavc: make avpriv_flac_parse_streaminfo() private on the next bump
10 years ago
Anton Khirnov
9325d88eba
lavc: remove obsolete and disabled avpriv functions
11 years ago
Anton Khirnov
5fdaf312c5
flac: make avpriv_flac_parse_block_header() inline
...
This avoids all the ABI troubles associated with avpriv_.
Since this function is very small and does not depend on any tables,
making it inline should have no adverse effects.
11 years ago
Justin Ruggles
90fcac0e95
flacdec: allow mid-stream channel layout change
...
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
12 years ago
Mans Rullgard
d155b60fc8
flac: make FLAC_CHMODE_* constants consecutive
13 years ago
Anton Khirnov
d9cca9fc6a
lavc: use avpriv_ prefix for some flac symbols used in lavf.
...
Specifically, ff_flac_parse_streaminfo, ff_flac_is_extradata_valid and
ff_flac_parse_block_header
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Chinen
a4151444bd
Define FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
...
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25916 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
3c795698d0
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
...
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
14 years ago
Michael Chinen
71b6fc216c
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
...
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
625daac4bd
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
...
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25909 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
ba87f0801d
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
15 years ago
Justin Ruggles
cd98a03024
flacdec: split frame header decoding and validation into a separate
...
function
Originally committed as revision 18175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d1d9945f1a
cosmetics: vertical alignment
...
Originally committed as revision 18149 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
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
16 years ago
Justin Ruggles
3159780b18
share channel mode constants between the FLAC decoder and FLAC encoder
...
Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
07d16e2ecf
share some constants between the FLAC encoder and FLAC decoder
...
Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5b63d33d7d
flacdec: Add a shared function for parsing a FLAC metadata block header.
...
Originally committed as revision 17851 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
59c6178a54
Use a shared function to validate FLAC extradata.
...
Originally committed as revision 17602 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
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
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
97085fa154
include avcodec.h
...
Originally committed as revision 13039 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9482171bbd
share streaminfo parsing function
...
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago