82 Commits (2d162e3825a35b6ac42a27d27c4a3ebbd141828d)

Author SHA1 Message Date
Michael Chinen a4151444bd Define FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder. 14 years ago
Michael Chinen 60a684939a Simplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC 14 years ago
Michael Chinen 3c795698d0 Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used 14 years ago
Michael Chinen 625daac4bd Move decode_frame_header() from flacdec.c to flac.c/h to share with the 14 years ago
Stefano Sabatini 5d6e4c160a Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 14 years ago
Justin Ruggles 2e0559b713 Support decoding of FLAC files without a STREAMINFO header. 14 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Justin Ruggles 4c1645a458 Set sample format in flac_decode_init() rather than in 15 years ago
Justin Ruggles 78a9a77eac add CODEC_CAP_SUBFRAMES to the FLAC decoder capabilities. also add a FIXME 15 years ago
Måns Rullgård 8313e17976 flacdec: change variable-length array to fixed length 15 years ago
Ronald S. Bultje ce863d7f36 Rename ff_log_missing_feature() to av_log_missing_feature(). 16 years ago
Stefano Sabatini 9106a698e7 Rename bitstream.h to get_bits.h. 16 years ago
Thilo Borgmann 7a00bbad21 Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an 16 years ago
Justin Ruggles d7520f217a cosmetics: add an @return to documentation for decode_frame_header() 16 years ago
Justin Ruggles cd98a03024 flacdec: split frame header decoding and validation into a separate 16 years ago
Justin Ruggles e8b0395236 flacdec: cosmetics: white space 16 years ago
Justin Ruggles fbc4d9c964 flacdec: cosmetics: separate the pure frame header parsing code from 16 years ago
Justin Ruggles e7e6b06802 flacdec: allow sample rate to change mid-stream, but log a warning 16 years ago
Justin Ruggles 1448907465 flacdec: cosmetics: indentation 16 years ago
Justin Ruggles e2a38af96e flacdec: change frame bps validation to return an error value if bps 16 years ago
Justin Ruggles f91eaf5deb flacdec: cosmetics: add some braces to if/else statements 16 years ago
Justin Ruggles b6fa746e39 flacdec: skip frame when allocated data size is too small 16 years ago
Justin Ruggles 492cc392fa 10l: don't check against current layout until after validating ch_mode. 16 years ago
Justin Ruggles 7660dc6f4f flacdec: give a more accurate error message when validating channel 16 years ago
Justin Ruggles 02b26d2d5c flacdec: move data size check to flac_decode_frame() 16 years ago
Justin Ruggles 4285c2923c flacdec: comments and white space. 16 years ago
Justin Ruggles 5c3e0340d9 flacdec: remove unneeded local variable 16 years ago
Justin Ruggles 3b4d96fa68 flacdec: cosmetics: rename 3 variables 16 years ago
Justin Ruggles 7e00bd8456 flacdec: use a local variable for GetBitContext in decode_frame() 16 years ago
Justin Ruggles 0fb2182d46 add a function to calculate a more accurate estimate for maximum FLAC 16 years ago
Justin Ruggles f5187c7f04 flacdec: account for frame and subframe header overhead when calculating 16 years ago
Justin Ruggles d4df4e5088 share sample rate and blocksize tables between the FLAC encoder and FLAC 16 years ago
Justin Ruggles d9e7fa8074 flacdec: remove unneeded variable, 'assignment' 16 years ago
Justin Ruggles 2a34672500 flacdec: cosmetics: rename 'decorrelation' to 'ch_mode' 16 years ago
Justin Ruggles 3159780b18 share channel mode constants between the FLAC decoder and FLAC encoder 16 years ago
Justin Ruggles 07d16e2ecf share some constants between the FLAC encoder and FLAC decoder 16 years ago
Justin Ruggles 5b63d33d7d flacdec: Add a shared function for parsing a FLAC metadata block header. 16 years ago
Justin Ruggles 8d1e885fc2 flacdec: cosmetics: Add a comment with the data of the smallest FLAC 16 years ago
Justin Ruggles 629fb5c46a flacdec: There is an even smaller FLAC frame size possibility. 16 years ago
Justin Ruggles 5756bc7b02 flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16 16 years ago
Justin Ruggles bf1d7e285c flacdec: cosmetics: move 2 statements to immediately after frame 16 years ago
Justin Ruggles fd6fd470ce flacdec: Simplify frame sync by not using the bitstream reader. 16 years ago
Justin Ruggles a8ec12bc2e flacdec: Split the metadata_parse() function into 2 separate functions, 16 years ago
Justin Ruggles 5ef4fa87b3 flacdec: Add a check for small buffer size. This ensures reading as 16 years ago
Justin Ruggles c51997297a flacdec: cosmetics: Use a more descriptive variable name for the number 16 years ago
Justin Ruggles 549bccdbe4 flacdec: Handle 32 bps data when checking allocated size. 16 years ago
Justin Ruggles a3d2379bdd flacdec: Check curr_bps after wasted bits are subtracted. 16 years ago
Justin Ruggles e1374c06d6 flacdec: When there is not enough data to read the next header block, 16 years ago
Justin Ruggles 6a85fb34c9 cosmetics: indentation after last commit 16 years ago