e85771f268 
								
							
								 
							
						 
						
							
							
								
								ffserver: allocate rc_eq, prevent freeing invalid pointer  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2192f89368 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix null pointer dereference  
							
							Fixes CID732208
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73920ac573 
								
							
								 
							
						 
						
							
							
								
								ffserver: replace atoll() by strtoll()  
							
							this should make it easier to support ffserver with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a595cff79 
								
							
								 
							
						 
						
							
							
								
								ffserver/ctime1: avoid using strcpy()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19c41c6d8e 
								
							
								 
							
						 
						
							
							
								
								opt: re-enable memleak fix for duplicated options.  
							
							The memleak fix in a1bcc76e 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88d55b827d 
								
							
								 
							
						 
						
							
							
								
								Remove incorrect use of ctype.h functions.  
							
							As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9db5f82032 
								
							
								 
							
						 
						
							
							
								
								ffserver: add missing padding to extradata.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbe43e62c9 
								
							
								 
							
						 
						
							
							
								
								ffserver: set oformat  
							
							Fix Ticket1986
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2c1726847 
								
							
								 
							
						 
						
							
							
								
								ffserver remove CONFIG_NOCUTILS check  
							
							Nothing sets CONFIG_NOCUTILS, i also dont remember anything setting it in
the past.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f30cf51d46 
								
							
								 
							
						 
						
							
							
								
								ffserver: put NoDaemon back so as not not break existing conf files.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e482a8e49 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix streams and priv_data memleaks when closing a connection.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26afdbcfc0 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix NULL dereference with quoted Stream name.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9ba9268d7 
								
							
								 
							
						 
						
							
							
								
								ffserver: prefer av_asprintf over malloc+snprintf for Launch setting.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a04698c4a9 
								
							
								 
							
						 
						
							
							
								
								ffserver: zero dest_addr  
							
							Fixes CID733838
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc72d52dc1 
								
							
								 
							
						 
						
							
							
								
								ffserver: fix printf argument type  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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