933e90a69a 
								
							
								 
							
						 
						
							
							
								
								avio: make av_url_read_fseek/fpause internal.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d9769a77b 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_fileno  
							
							It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7f2fdde74 
								
							
								 
							
						 
						
							
							
								
								avio: rename put_flush_packet -> avio_flush  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35f1023592 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_close_buf  
							
							It's not used anywhere and its return value looks broken.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								83fddaeb81 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_open_buf  
							
							It's only used in one place and does the same thing as
avio_alloc_context.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eda4cf92d7 
								
							
								 
							
						 
						
							
							
								
								avio: always compile avio_printf, rather than on CONFIG_MUXERS  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9d86e00b2 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fprintf  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59f65d9579 
								
							
								 
							
						 
						
							
							
								
								avio: make url_setbufsize internal.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4839c192de 
								
							
								 
							
						 
						
							
							
								
								lavf: move ff_get_v from avio.h to avio_internal.h  
							
							And rename it to ffio_read_varlen.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e68b3ba7b 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_ferror  
							
							AVIOContext.error should be used directly instead.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1ef2cd9ed 
								
							
								 
							
						 
						
							
							
								
								avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h  
							
							also change its prefix to ffio
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8bb2e2439 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_fget_max_packet_size  
							
							AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76aa876e69 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fsize  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e51975392d 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_fgetc and remove all it uses  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								655e45e7df 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_fgets  
							
							It's not used anywhere and doesn't look ver useful to be public.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e16ead0716 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate get_strz() in favor of avio_get_str  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41d8555f72 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_get_str()  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e360ada2d1 
								
							
								 
							
						 
						
							
							
								
								aviobuf: Write new data at s->buf_end in fill_buffer  
							
							In most cases, s->buf_ptr will be equal to s->buf_end when
fill_buffer is called, but this may not always be the case, if
we're seeking forward by reading (permitted by the short seek
threshold).
If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when
they aren't equal and s->buf_ptr is ahead of s->buffer), the data
between s->buf_ptr and s->buf_end is overwritten, leading to
inconsistent buffer content. This could return incorrect data if
later seeking back into the area before the current s->buf_ptr.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0300db8ad7 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_fskip  
							
							avio_seek should be used instead
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								61840b4360 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate put_tag  
							
							it's not used internally anymore and shouldn't be public.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22a3212e32 
								
							
								 
							
						 
						
							
							
								
								avio: rename url_fopen/fclose -> avio_open/close.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ac8e2bf2b 
								
							
								 
							
						 
						
							
							
								
								avio: make put_nbyte internal.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77eb5504d3 
								
							
								 
							
						 
						
							
							
								
								avio: avio: avio_ prefixes for put_* functions  
							
							In the name of consistency:
put_byte           -> avio_w8
put_<type>         -> avio_w<type>
put_buffer         -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3db9ceef1 
								
							
								 
							
						 
						
							
							
								
								avio: make get_partial_buffer internal.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d9ac969cb 
								
							
								 
							
						 
						
							
							
								
								avio: rename av_alloc_put_byte -> avio_alloc_context for consistency  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e731b8d872 
								
							
								 
							
						 
						
							
							
								
								avio: move init_put_byte() to a new private header and rename it  
							
							init_put_byte should never be used outside of lavf, since
sizeof(AVIOContext) isn't part of public ABI.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93b78d1210 
								
							
								 
							
						 
						
							
							
								
								lavf: make a variant of ff_get_str16_nolen public  
							
							It will be useful in mp3 demuxer and hopeful some other places.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dccbd97d72 
								
							
								 
							
						 
						
							
							
								
								lavf: move ff_put_str16_nolen from asf to avio and rename it  
							
							It will be useful in the mp3 muxer.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4efd5cf34b 
								
							
								 
							
						 
						
							
							
								
								avio: add av_put_str and deprecate put_strz in favor of it  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c66f53cf8b 
								
							
								 
							
						 
						
							
							
								
								Revert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)  
							
							This reverts SVN commit 26318, which broke MS-RTSP playback.
Originally committed as revision 26326 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6963f8304 
								
							
								 
							
						 
						
							
							
								
								aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)  
							
							Originally committed as revision 26318 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17ee8f669f 
								
							
								 
							
						 
						
							
							
								
								Add function put_nbyte() to speed up padding in SPDIF muxer.  
							
							Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26193 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								364cacc7c7 
								
							
								 
							
						 
						
							
							
								
								add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()  
							
							public function
Originally committed as revision 24841 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								853a0fccce 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: fix indentation and remove a useless else.  
							
							Originally committed as revision 24495 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3aa13da970 
								
							
								 
							
						 
						
							
							
								
								Simplify get_byte and url_fgetc.  
							
							Originally committed as revision 24494 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								496c645d3b 
								
							
								 
							
						 
						
							
							
								
								Never shrink the ByteIOContext buffer in ff_rewind_with_probe_data  
							
							If there is little unread data in the ByteIOContext buffer, this may lead
to reducing the size of the ByteIOContext buffer to little more the probe
data size. This can lead to suboptimal aviobuf behaviour, e.g. making some
demuxers fail to do short seeks backwards (if the input isn't seekable).
Originally committed as revision 24478 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a43416a540 
								
							
								 
							
						 
						
							
							
								
								improve ff_get_line to return line length  
							
							Originally committed as revision 24400 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c89295145 
								
							
								 
							
						 
						
							
							
								
								move ff_get_line to aviobuf.c  
							
							Originally committed as revision 24399 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aff4137d5f 
								
							
								 
							
						 
						
							
							
								
								Remove an assert that was no longer correct nor relevant  
							
							Originally committed as revision 24344 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7939d0edce 
								
							
								 
							
						 
						
							
							
								
								aviobuf: Do short seeks forward by reading and skipping data instead of a proper seek  
							
							This improves performance on e.g. seekable http.
Originally committed as revision 24280 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5e9ddeb73 
								
							
								 
							
						 
						
							
							
								
								url_fskip: Return an error code if the url_fseek failed  
							
							Originally committed as revision 24277 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								603e5c0b71 
								
							
								 
							
						 
						
							
							
								
								move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c  
							
							patch by Micheal Chinen < mchinen gmail >
Originally committed as revision 24140 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fa197e277 
								
							
								 
							
						 
						
							
							
								
								Silence a warning when compiling aviobuf.c  
							
							Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24055 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de1807bbc4 
								
							
								 
							
						 
						
							
							
								
								Pad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23942 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago