be25614177 
								
							
								 
							
						 
						
							
							
								
								mmsh: reimplement seeking  
							
							Fixes Ticket2682
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4579a29c7 
								
							
								 
							
						 
						
							
							
								
								mmsh: dont close context on seeking failure  
							
							Fixes Ticket2581
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7755c348b 
								
							
								 
							
						 
						
							
							
								
								mmsh/mmsh_close: use ffurl_closep()  
							
							avoid using freed pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0329345da2 
								
							
								 
							
						 
						
							
							
								
								mmsh/mmsh_close: use av_freep()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								830f7f189f 
								
							
								 
							
						 
						
							
							
								
								mmsh: fix integer overflow in mmsh_seek()  
							
							Fixes CID703745
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32b83aeec1 
								
							
								 
							
						 
						
							
							
								
								avio: Add an URLProtocol flag for indicating that a protocol uses network  
							
							This definition is in two files, since the definitions will move
to the private header at the next bump.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3b05d2159 
								
							
								 
							
						 
						
							
							
								
								proto: Realign struct initializers  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e58050590 
								
							
								 
							
						 
						
							
							
								
								proto: Use .priv_data_size to allocate the private context  
							
							This simplifies the open functions by avoiding one function
call that needs error checking, reducing the amount of
extra bulk code.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c6777bd93 
								
							
								 
							
						 
						
							
							
								
								mmsh: Properly clean up if the second ffurl_alloc failed  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c88ebdb42c 
								
							
								 
							
						 
						
							
							
								
								Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddffc2fdc3 
								
							
								 
							
						 
						
							
							
								
								avio: add support for passing options to protocols.  
							
							Not used anywhere yet, support for passing options from avio_open() will
follow. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f1b7b3944 
								
							
								 
							
						 
						
							
							
								
								avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc  
							
							Change all uses of these function to pass the relevant
callback on. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								27fad11b5b 
								
							
								 
							
						 
						
							
							
								
								mms: Set http custom headers via the AVOption  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26b64550d6 
								
							
								 
							
						 
						
							
							
								
								mmsh: add return value for mmsh_open()  
							
							Found-by: cptspiff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8af4ac5272 
								
							
								 
							
						 
						
							
							
								
								mmsh: do not try to seek to negative tiimestamps, it does not work  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33789862aa 
								
							
								 
							
						 
						
							
							
								
								mmsh_read_seek: skip header  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								237bcaa275 
								
							
								 
							
						 
						
							
							
								
								mmsh:_implement a minimal mmsh_seek() so the stream position can be found out.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8475ec190c 
								
							
								 
							
						 
						
							
							
								
								mmsh: mmsh_read_seek()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86a4e55e66 
								
							
								 
							
						 
						
							
							
								
								mmsh: split out mmsh_open_internal()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aedb87c57e 
								
							
								 
							
						 
						
							
							
								
								mmsh: move location storage into context  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								add41decd9 
								
							
								 
							
						 
						
							
							
								
								Remove return statements following infinite loops without break  
							
							These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ec2fd5f77 
								
							
								 
							
						 
						
							
							
								
								mmsh: fix 400 bad request  
							
							There is no need to write two HTTP newlines (\r\n) into "headers",
because http_connect (in http.c) already appends one HTTP newline at
the end of the given headers chunk, which would result in sending
three HTTP newlines after the headers. Most of the time it's okay
(although not RFC-conforming), but many proxy servers and the
occasional strict httpd will puke with a "400 bad request". 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6095388812 
								
							
								 
							
						 
						
							
							
								
								mmsh: fixed printf injection bug in mmsh request  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0bafaabb0 
								
							
								 
							
						 
						
							
							
								
								mmsh: fixed printf injection bug in mmsh request  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc25d79f49 
								
							
								 
							
						 
						
							
							
								
								Drop unnecessary directory prefixes from #include directives.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f87b1b373a 
								
							
								 
							
						 
						
							
							
								
								avio: AVIO_ prefixes for URL_ open flags.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e52a9145c8 
								
							
								 
							
						 
						
							
							
								
								avio: make url_close() internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dce3756459 
								
							
								 
							
						 
						
							
							
								
								avio: make url_read_complete() internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62eaaeacb5 
								
							
								 
							
						 
						
							
							
								
								avio: make url_connect internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5652bb9471 
								
							
								 
							
						 
						
							
							
								
								avio: make url_alloc internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ef5a9deaf 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfd2a005eb 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dedbeff7b 
								
							
								 
							
						 
						
							
							
								
								Check return value of get_chunk_header(). Since enum can be unsigned, the  
							
							current code wouldn't always error out on errors.
Based on patch by Stephen d'Angelo <sdangelo evertz com>.
Originally committed as revision 25260 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a1712ddb5 
								
							
								 
							
						 
						
							
							
								
								Fix two compiler arnings related to printf-format of sizeof()-statements.  
							
							Originally committed as revision 24961 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37c506e8b9 
								
							
								 
							
						 
						
							
							
								
								stream_selection can be freed in the fail case, in which case it's unassigned.  
							
							Therefore, init it with NULL to prevent a crash on invalid streams.
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 24960 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5ea69b235 
								
							
								 
							
						 
						
							
							
								
								MMSH support, the most popular and widely used of all MMS variants. Written by  
							
							Zhentan Feng <spyfeng gmail com> as part of Google's Summer of Code program.
Originally committed as revision 24861 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago