71bc8c95d7 
								
							
								 
							
						 
						
							
							
								
								ffm_read_write_index: check lseek return code  
							
							Fixes CID732184
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								378a5b9c5f 
								
							
								 
							
						 
						
							
							
								
								ffm_write_write_index: check lseek() return code  
							
							Fixes CID732185
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff814c75a3 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix return value of add_codec()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f46825d98 
								
							
								 
							
						 
						
							
							
								
								ffserver: prevent nb_streams from becoming too large  
							
							Fixes CID732249
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f077e1fb4c 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix potential buffer overflow, based on wrong fscanf format indentifier.  
							
							Fixed Ticket1780
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1b6c14297 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix typo in log message  
							
							Signed-off-by: Bobby Bingham <uhmmmm@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fc3e8f4ea 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix unsafe snprintf() return usage.  
							
							Found-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c6af3a3db 
								
							
								 
							
						 
						
							
							
								
								ffserver: increase buffer size in http_send_too_busy_reply()  
							
							also add a assert0 to make sure the data is not truncated (which
should be impossible now)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d40c0e4a67 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix order of evaluation bugs  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00969376ce 
								
							
								 
							
						 
						
							
							
								
								ffserver: add missing buffer set after rewrite av_open_input_file to avformat_open_input.  
							
							Fixes Ticket346
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fcc62ed9b 
								
							
								 
							
						 
						
							
							
								
								Revert "ffserver: remove unused variable."  
							
							This reverts commit f02f745e4a 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b717e24f9 
								
							
								 
							
						 
						
							
							
								
								ffserver: use avcodec_get_context_defaults3()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9430c232e8 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix program reference  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc5a905a6d 
								
							
								 
							
						 
						
							
							
								
								ffserver: check chdir() return  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93613338fe 
								
							
								 
							
						 
						
							
							
								
								ff* tools: move descriptions from copyright header to  @file  doxy  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								452406bd5b 
								
							
								 
							
						 
						
							
							
								
								ff*: Fix duplicatedly printed version info with -version  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db29da9ac8 
								
							
								 
							
						 
						
							
							
								
								ffserver: use av_noreturn  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d58e4cb4c 
								
							
								 
							
						 
						
							
							
								
								Rename ffserver to avserver.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								863e2046fd 
								
							
								 
							
						 
						
							
							
								
								ffserver: Replace two loops with one loop.  
							
							Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71a1d1116f 
								
							
								 
							
						 
						
							
							
								
								Replace some gotos that lead to single return statements by direct return.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71a861cf40 
								
							
								 
							
						 
						
							
							
								
								lavc: make avcodec_alloc_context3 officially public.  
							
							Deprecate avcodec_alloc_context/2. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b950fe240 
								
							
								 
							
						 
						
							
							
								
								lavc: introduce avcodec_open2() as a replacement for avcodec_open().  
							
							Adds support for decoder-private options and makes setting other options
simpler. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f02f745e4a 
								
							
								 
							
						 
						
							
							
								
								ffserver: remove unused variable.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebcdf5cda 
								
							
								 
							
						 
						
							
							
								
								Do not include mathematics.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a09918335f 
								
							
								 
							
						 
						
							
							
								
								Make all option parsing functions match the function pointer type through which they are called.  
							
							All option parsing functions now match the function pointer signature through
which they are called (int f(const char *, const char *), thereby working
reliably on all platforms.
Prefix all option processing functions with opt_ 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50f2dfad67 
								
							
								 
							
						 
						
							
							
								
								ffserver: use new avformat_open_* API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc59ec5e79 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_find() as a replacement for av_find_opt.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f190f676bc 
								
							
								 
							
						 
						
							
							
								
								Replace custom DEBUG preprocessor trickery by the standard one.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2d7dc87df 
								
							
								 
							
						 
						
							
							
								
								ffserver: move close_connection() call to avoid a temporary string and copy.  
							
							Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db3262b700 
								
							
								 
							
						 
						
							
							
								
								ffserver: Fix a null pointer dereference as a result of the FF_API_MAX_STREAMS cleanup.  
							
							Fixed another dereference in the RTSP code.
Removed a useless variable.
Changed an unnecessary looping assignment to a simple assignment suggested by
Maksym.
Added fixes and tweaks suggested by Maksym Veremeyenko [verem@m1stereo.tv ] and
Clément B. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								840238b870 
								
							
								 
							
						 
						
							
							
								
								ffserver: dont just crash  
							
							With changes from ubitux. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab1c19efc5 
								
							
								 
							
						 
						
							
							
								
								fix ffserver's SIGSEGV  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								046f081b46 
								
							
								 
							
						 
						
							
							
								
								configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.  
							
							Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually.  It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems.  We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6ff064845 
								
							
								 
							
						 
						
							
							
								
								Eliminate pointless '#if 1' statements without matching '#else'.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89b503b55f 
								
							
								 
							
						 
						
							
							
								
								Lowercase all ff* program names.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43fb279f56 
								
							
								 
							
						 
						
							
							
								
								Replace more FFmpeg instances by Libav or ffmpeg.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55815edca0 
								
							
								 
							
						 
						
							
							
								
								prefer avio_check() over url_exist()  
							
							The problem with url_exist() is that it tries to open a resource in
RDONLY mode. If the file is a FIFO and there is already a reading
client, the open() call will hang.
By using avio_check() with access mode of 0, the second reading
process will check if the file exists without attempting to open it,
thus avoiding the lock.
Fix issue #1663 .
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d96941f0 
								
							
								 
							
						 
						
							
							
								
								avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols  
							
							Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41d0eb1c81 
								
							
								 
							
						 
						
							
							
								
								lavc: remove the FF_API_SET_STRING_OLD cruft.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								761ad42968 
								
							
								 
							
						 
						
							
							
								
								lavf: remove FF_API_MAX_STREAMS cruft  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ee53dabcf 
								
							
								 
							
						 
						
							
							
								
								lavf: get rid of ffm-specific stuff in avformat.h  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3675dfe1e 
								
							
								 
							
						 
						
							
							
								
								lavf: rename avf_sdp_create to av_sdp_create.  
							
							The new name is more consistent with the rest of the API. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f87b1b373a 
								
							
								 
							
						 
						
							
							
								
								avio: AVIO_ prefixes for URL_ open flags.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								403ee835e7 
								
							
								 
							
						 
						
							
							
								
								avio: make url_open_dyn_packet_buf internal.  
							
							It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6dc7d80de7 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_close_dyn_buf  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b92c545282 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_open_dyn_buf  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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