5bd0343bee 
								
							
								 
							
						 
						
							
							
								
								flacdec: use av_get_bytes_per_sample() to get sample size  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c5e7b27d5 
								
							
								 
							
						 
						
							
							
								
								flacdec: fix buffer size checking in get_metadata_size()  
							
							Adds an additional check before reading the next block header and avoids a
potential integer overflow when checking the metadata size against the
remaining buffer size. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec6402b7c5 
								
							
								 
							
						 
						
							
							
								
								lavc: use designated initialisers for all codecs.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad4cd0c2a4 
								
							
								 
							
						 
						
							
							
								
								doxygen: use Doxygen markup for authors and web links where appropriate  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e2df27f8 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.  
							
							None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d36beb3f69 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.  
							
							None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								60a684939a 
								
							
								 
							
						 
						
							
							
								
								Simplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC  
							
							data thanks to the recently added FLAC parser.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25915 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d6e4c160a 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum  
							
							SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e0559b713 
								
							
								 
							
						 
						
							
							
								
								Support decoding of FLAC files without a STREAMINFO header.  
							
							Originally committed as revision 25315 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								72415b2adb 
								
							
								 
							
						 
						
							
							
								
								Define AVMediaType enum, and use it instead of enum CodecType, which  
							
							is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c1645a458 
								
							
								 
							
						 
						
							
							
								
								Set sample format in flac_decode_init() rather than in  
							
							ff_flac_parse_streaminfo() since the latter is shared with the raw FLAC
demuxer, which should not be setting the sample format.
Originally committed as revision 20430 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78a9a77eac 
								
							
								 
							
						 
						
							
							
								
								add CODEC_CAP_SUBFRAMES to the FLAC decoder capabilities. also add a FIXME  
							
							comment as a reminder that we can remove both capabilities once a parser is
implemented.
Originally committed as revision 19891 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8313e17976 
								
							
								 
							
						 
						
							
							
								
								flacdec: change variable-length array to fixed length  
							
							pred_order can never exceed 32, so always allocating that amount is safe
and not very wasteful.
Originally committed as revision 19669 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce863d7f36 
								
							
								 
							
						 
						
							
							
								
								Rename ff_log_missing_feature() to av_log_missing_feature().  
							
							Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9106a698e7 
								
							
								 
							
						 
						
							
							
								
								Rename bitstream.h to get_bits.h.  
							
							Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a00bbad21 
								
							
								 
							
						 
						
							
							
								
								Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an  
							
							AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7520f217a 
								
							
								 
							
						 
						
							
							
								
								cosmetics: add an  @return  to documentation for decode_frame_header()  
							
							Originally committed as revision 18179 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8b0395236 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: white space  
							
							Originally committed as revision 18167 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbc4d9c964 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: separate the pure frame header parsing code from  
							
							other frame header decoding code
Originally committed as revision 18166 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e6b06802 
								
							
								 
							
						 
						
							
							
								
								flacdec: allow sample rate to change mid-stream, but log a warning  
							
							message when it does
Originally committed as revision 18162 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1448907465 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: indentation  
							
							Originally committed as revision 18159 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2a38af96e 
								
							
								 
							
						 
						
							
							
								
								flacdec: change frame bps validation to return an error value if bps  
							
							changes since this is not currently supported by the decoder.
Originally committed as revision 18157 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f91eaf5deb 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: add some braces to if/else statements  
							
							Originally committed as revision 18156 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6fa746e39 
								
							
								 
							
						 
						
							
							
								
								flacdec: skip frame when allocated data size is too small  
							
							Originally committed as revision 18155 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								492cc392fa 
								
							
								 
							
						 
						
							
							
								
								10l: don't check against current layout until after validating ch_mode.  
							
							should have been in last commit.
Originally committed as revision 18154 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7660dc6f4f 
								
							
								 
							
						 
						
							
							
								
								flacdec: give a more accurate error message when validating channel  
							
							layout. differentiates between invalid values and unsupported values.
Originally committed as revision 18153 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02b26d2d5c 
								
							
								 
							
						 
						
							
							
								
								flacdec: move data size check to flac_decode_frame()  
							
							Originally committed as revision 18151 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4285c2923c 
								
							
								 
							
						 
						
							
							
								
								flacdec: comments and white space.  
							
							move skipping of frame header to decode_frame()
Originally committed as revision 18150 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c3e0340d9 
								
							
								 
							
						 
						
							
							
								
								flacdec: remove unneeded local variable  
							
							Originally committed as revision 18148 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b4d96fa68 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: rename 3 variables  
							
							Originally committed as revision 18147 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e00bd8456 
								
							
								 
							
						 
						
							
							
								
								flacdec: use a local variable for GetBitContext in decode_frame()  
							
							Originally committed as revision 18146 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5187c7f04 
								
							
								 
							
						 
						
							
							
								
								flacdec: account for frame and subframe header overhead when calculating  
							
							estimate for maximum frame size
Originally committed as revision 18091 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4df4e5088 
								
							
								 
							
						 
						
							
							
								
								share sample rate and blocksize tables between the FLAC encoder and FLAC  
							
							decoder
Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9e7fa8074 
								
							
								 
							
						 
						
							
							
								
								flacdec: remove unneeded variable, 'assignment'  
							
							Originally committed as revision 18085 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a34672500 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: rename 'decorrelation' to 'ch_mode'  
							
							Originally committed as revision 18084 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d1e885fc2 
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								629fb5c46a 
								
							
								 
							
						 
						
							
							
								
								flacdec: There is an even smaller FLAC frame size possibility.  
							
							Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5756bc7b02 
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf1d7e285c 
								
							
								 
							
						 
						
							
							
								
								flacdec: cosmetics: move 2 statements to immediately after frame  
							
							decoding.
Originally committed as revision 17819 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago