Statistics
| Branch: | Revision:

ffmpeg / libavcodec / flacdec.c @ 8d1e885f

History | View | Annotate | Download (23.4 KB)

# Date Author Comment
8d1e885f 03/05/2009 04:40 AM Justin Ruggles

flacdec: cosmetics: Add a comment with the data of the smallest FLAC
frame for future reference.

Originally committed as revision 17822 to svn://svn.ffmpeg.org/ffmpeg/trunk

629fb5c4 03/05/2009 02:36 AM Justin Ruggles

flacdec: There is an even smaller FLAC frame size possibility.

Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk

5756bc7b 03/05/2009 02:21 AM Justin Ruggles

flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24.

Originally committed as revision 17820 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf1d7e28 03/05/2009 01:23 AM Justin Ruggles

flacdec: cosmetics: move 2 statements to immediately after frame
decoding.

Originally committed as revision 17819 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd6fd470 03/05/2009 01:15 AM Justin Ruggles

flacdec: Simplify frame sync by not using the bitstream reader.

Originally committed as revision 17818 to svn://svn.ffmpeg.org/ffmpeg/trunk

a8ec12bc 03/05/2009 12:56 AM Justin Ruggles

flacdec: Split the metadata_parse() function into 2 separate functions,
parse_streaminfo() and get_metadata_size().

Originally committed as revision 17817 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ef4fa87 03/04/2009 11:55 PM Justin Ruggles

flacdec: Add a check for small buffer size. This ensures reading as
much of the frame header as possible without excluding the smallest
possible FLAC frame. It also fixes a false positive warning message
that was being emitted at the end of decoding.

Originally committed as revision 17816 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5199729 03/04/2009 11:24 PM Justin Ruggles

flacdec: cosmetics: Use a more descriptive variable name for the number
of bytes read, instead of reusing 'i'.

Originally committed as revision 17815 to svn://svn.ffmpeg.org/ffmpeg/trunk

549bccdb 03/04/2009 11:16 PM Justin Ruggles

flacdec: Handle 32 bps data when checking allocated size.

Originally committed as revision 17814 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3d2379b 03/04/2009 11:10 PM Justin Ruggles

flacdec: Check curr_bps after wasted bits are subtracted.

Originally committed as revision 17813 to svn://svn.ffmpeg.org/ffmpeg/trunk

e1374c06 03/04/2009 01:08 AM Justin Ruggles

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

6a85fb34 03/04/2009 12:53 AM Justin Ruggles

cosmetics: indentation after last commit

Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk

55a72738 03/04/2009 12:52 AM Justin Ruggles

flacdec: Check for an inline header before calling metadata_parse().

Originally committed as revision 17795 to svn://svn.ffmpeg.org/ffmpeg/trunk

239b961f 03/04/2009 12:21 AM Justin Ruggles

flacdec: Allocate buffers right after STREAMINFO is parsed.

Originally committed as revision 17794 to svn://svn.ffmpeg.org/ffmpeg/trunk

184bc53d 03/03/2009 11:50 PM Justin Ruggles

cosmetics: indentation after last commit

Originally committed as revision 17791 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d030358 03/03/2009 11:49 PM Justin Ruggles

flacdec: Avoid parsing the STREAMINFO multiple times.

Originally committed as revision 17790 to svn://svn.ffmpeg.org/ffmpeg/trunk

2e78513c 03/03/2009 05:53 AM Justin Ruggles

flacdec: Warn about invalid max blocksize and limit the minimum value.

Originally committed as revision 17751 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c89ca72 03/03/2009 05:25 AM Justin Ruggles

cosmetics: remove a pointless comment

Originally committed as revision 17749 to svn://svn.ffmpeg.org/ffmpeg/trunk

95db6659 03/03/2009 05:25 AM Justin Ruggles

flacdec: Remove unused variable, min_blocksize.

Originally committed as revision 17748 to svn://svn.ffmpeg.org/ffmpeg/trunk

dde318d5 03/03/2009 05:22 AM Justin Ruggles

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

5b37e2fc 03/03/2009 04:45 AM Justin Ruggles

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

505cc62f 03/03/2009 02:53 AM Justin Ruggles

flacdec: ALT_BITSTREAM_READER is no longer required.

Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk

9de6e090 03/03/2009 02:19 AM Justin Ruggles

flacdec: use get_sbits_long() where needed.

Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk

ee4d0322 03/02/2009 05:32 PM Justin Ruggles

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

26adc8d0 02/26/2009 02:30 AM Justin Ruggles

cosmetics: line wrap and indentation after last commit.

Originally committed as revision 17603 to svn://svn.ffmpeg.org/ffmpeg/trunk

59c6178a 02/26/2009 02:29 AM Justin Ruggles

Use a shared function to validate FLAC extradata.

Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk

7846418b 02/16/2009 10:23 PM Patrik Kullman

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

faeb2bd4 02/02/2009 01:53 AM Justin Ruggles

flacdec: set default sample_fmt before parsing extradata

Originally committed as revision 16926 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

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

7f3a6a05 01/31/2009 02:11 AM Justin Ruggles

cosmetics: change comment type and vertical alignment

Originally committed as revision 16882 to svn://svn.ffmpeg.org/ffmpeg/trunk

64cb3765 01/31/2009 02:10 AM Justin Ruggles

cosmetics: add some documentation to FLACContext

Originally committed as revision 16881 to svn://svn.ffmpeg.org/ffmpeg/trunk

82159ad9 01/31/2009 01:20 AM Justin Ruggles

flacdec: add support for SAMPLE_FMT_32

Originally committed as revision 16871 to svn://svn.ffmpeg.org/ffmpeg/trunk

aeb987ce 01/25/2009 02:27 AM Justin Ruggles

flacdec: get total number of samples from STREAMINFO

Originally committed as revision 16768 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce7e8214 01/25/2009 12:34 AM Justin Ruggles

move FLAC_STREAMINFO_SIZE to flac.h

Originally committed as revision 16766 to svn://svn.ffmpeg.org/ffmpeg/trunk

d38b8821 01/25/2009 12:33 AM Justin Ruggles

define FLAC metadata types in flac.h

Originally committed as revision 16765 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f3d3ecf 01/24/2009 07:05 PM Justin Ruggles

flacdec: cosmetics: some line wrapping at 80 chars

Originally committed as revision 16763 to svn://svn.ffmpeg.org/ffmpeg/trunk

1df0390e 01/24/2009 06:52 PM Justin Ruggles

flacdec: cosmetics: indentation

Originally committed as revision 16762 to svn://svn.ffmpeg.org/ffmpeg/trunk

1bec121f 01/24/2009 06:51 PM Justin Ruggles

flacdec: cosmetics: use consistent coding style (K&R)

Originally committed as revision 16761 to svn://svn.ffmpeg.org/ffmpeg/trunk

13de8a08 01/24/2009 04:13 PM Justin Ruggles

cosmetics: indentation

Originally committed as revision 16753 to svn://svn.ffmpeg.org/ffmpeg/trunk

5305f40b 01/24/2009 04:03 PM Justin Ruggles

flacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR

Originally committed as revision 16752 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f2db545 01/24/2009 04:02 PM Justin Ruggles

flacdec: remove another unneeded debugging statement

Originally committed as revision 16751 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7f3e3bf 01/24/2009 04:01 PM Justin Ruggles

flacdec: remove unneeded debugging statements

Originally committed as revision 16750 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5706efd 01/24/2009 03:46 PM Justin Ruggles

flacdec: remove some unused code

Originally committed as revision 16749 to svn://svn.ffmpeg.org/ffmpeg/trunk

8f51144b 01/23/2009 10:27 PM Justin Ruggles

rename flac.c to flacdec.c

Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk