794ca87d2b 
								
							
								 
							
						 
						
							
							
								
								wvdec: split block header parsing into a separate file  
							
							It will be reused by other muxers and demuxers. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a1a94450a 
								
							
								 
							
						 
						
							
							
								
								lavf: rename wv.c to wvdec.c  
							
							wv.c will be used for shared wavpack functions. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5074f4545c 
								
							
								 
							
						 
						
							
							
								
								wavpack demuxer: export full wavpack blocks.  
							
							Currently the demuxer shaves the blocks and exports only the
information that is useful to the decoder.
Exporting the blocks just as they are stored is simpler to understand
and will make remuxing wavpack easier. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa23f94eac 
								
							
								 
							
						 
						
							
							
								
								wv: make probing more robust  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87c113f4b3 
								
							
								 
							
						 
						
							
							
								
								wv: use right function to read block_samples  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								039341eb43 
								
							
								 
							
						 
						
							
							
								
								wv: do not report invalid stream duration  
							
							If total number of samples is -1 it means stream is of unknown length.
Fixes ticket #1777 .
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								782e64fbe1 
								
							
								 
							
						 
						
							
							
								
								wv,mpc8: don't return apetag data in packets.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								29d70274ec 
								
							
								 
							
						 
						
							
							
								
								wv: K&R formatting cosmetics  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1d865d563 
								
							
								 
							
						 
						
							
							
								
								wv: return meaningful error codes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccc10acb5b 
								
							
								 
							
						 
						
							
							
								
								wv: return AVERROR_EOF on EOF, not EIO.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f3d8baef9 
								
							
								 
							
						 
						
							
							
								
								WavPack demuxer: set packet duration  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccb919e34b 
								
							
								 
							
						 
						
							
							
								
								WavPack demuxer: do not rely on index when timestamp is not in indexed range.  
							
							This fixes the situation when there are not enough entries in the index
(e.g. on initial seek there's only one index entry in the index) and index
search returns just the last known entry. That causes seeking function just to
seek there instead of trying harder to get at the requested position.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5561fe487f 
								
							
								 
							
						 
						
							
							
								
								WavPack demuxer: store position of the first block in index.  
							
							Currently for multichannel audio position for the last block position is
stored in index (and used for seeking), which is obviously not correct.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb7b55b096 
								
							
								 
							
						 
						
							
							
								
								wavpack: skip blocks with no samples  
							
							These blocks don't report audio stream parameters and they are not needed
for decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8978fedaee 
								
							
								 
							
						 
						
							
							
								
								avio: introduce an AVIOContext.seekable field  
							
							Use it instead of url_is_streamed and AVIOContext.is_streamed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45a8a02a41 
								
							
								 
							
						 
						
							
							
								
								lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66e5b1df36 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_feof  
							
							AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								384c9c2fa7 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2704c9712 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								74b3f67c9c 
								
							
								 
							
						 
						
							
							
								
								lavf: replace all uses of url_fskip with avio_seek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f59d8ff8cd 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e356fc57a2 
								
							
								 
							
						 
						
							
							
								
								lavf: replace all uses of url_fskip with avio_seek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b4aa5dac8 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e63a362857 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefixes for get_* functions  
							
							In the name of consistency:
get_byte           -> avio_r8
get_<type>         -> avio_r<type>
get_buffer         -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit b7effd4e83 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7effd4e83 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefixes for get_* functions  
							
							In the name of consistency:
get_byte           -> avio_r8
get_<type>         -> avio_r<type>
get_buffer         -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								471fe57e1a 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737eb5976f 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbdcdaee6e 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurrences of deprecated CH_* with AV_CH_*  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit c2fcd0a7a4 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2fcd0a7a4 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurrences of deprecated CH_* with AV_CH_*  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66355be3c3 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6610a216e 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69c78161d2 
								
							
								 
							
						 
						
							
							
								
								reindent after last commit  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit dacbcd170a 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a485dd399 
								
							
								 
							
						 
						
							
							
								
								Extend WavPack demuxer and decoder to support >2 channel audio  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 3bdc886c22 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dacbcd170a 
								
							
								 
							
						 
						
							
							
								
								reindent after last commit  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bdc886c22 
								
							
								 
							
						 
						
							
							
								
								Extend WavPack demuxer and decoder to support >2 channel audio  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								614e139a11 
								
							
								 
							
						 
						
							
							
								
								Don't try to demux WavPack files with >2 channels until we can support them  
							
							Originally committed as revision 25919 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fc07ad951 
								
							
								 
							
						 
						
							
							
								
								Set start_time and duration in AVStream instead of AVFormatContext for  
							
							formats with only one stream; the AVFormatContext values will be derived from
the AVStream and this helps in calculating stream bitrate.
Originally committed as revision 21361 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d32307dd2 
								
							
								 
							
						 
						
							
							
								
								10l: WavPack demuxer forgot to seek back to initial position after block  
							
							contents parsing (for custom sampling rate).
Originally committed as revision 20468 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7aa2d42db6 
								
							
								 
							
						 
						
							
							
								
								If custom sampling rate is set in WavPack file, parse first block to find  
							
							actual value.
This fixes issue 1518.
Originally committed as revision 20461 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago