059a934806 
								
							
								 
							
						 
						
							
							
								
								lavc: Consistently prefix input buffer defines  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d594dbecce 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Rename the free method to close  
							
							Many of these functions were named foo_free_context, and since
the functions no longer should free the context itself, only
allocated elements within it, the previous naming was slightly
misleading.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb4a310bb8 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Don't free the payload context in the .free function  
							
							This makes it more consistent with depacketizers that don't have any
.free function at all, where the payload context is freed by the
surrounding framework. Always free the context in the surrounding
framework, having the individual depacketizers only free any data
they've specifically allocated themselves.
This is similar to how this works for demuxer/muxers/codecs - a
component shouldn't free the priv_data that the framework has
allocated for it.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec96a89c3e 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions  
							
							This makes it clear that the individual parsing functions can't
touch the parsed out value.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac0e54fda9 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Add const to string parameters in internal fmtp parsing functions  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d8cae4573 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Get rid of all trivial .alloc/.free functions  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b982e92f4 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Set need_parsing via a handler field  
							
							This avoids implementing a full function just to set this one
field.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3cd5828fc0 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Add missing trailing commas  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44dc138ed2 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: reassemble fragmented AAC frames  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcf969e98d 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: add more verbose error logging  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daf8cf358a 
								
							
								 
							
						 
						
							
							
								
								avformat: Don't anonymously typedef structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0307cc2253 
								
							
								 
							
						 
						
							
							
								
								rtpdec: pass an AVFormatContext to ff_parse_fmtp()  
							
							Use it for logging, instead of NULL or the stream codec context. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7abd35a1ff 
								
							
								 
							
						 
						
							
							
								
								avformat: Add av_cold attributes to init functions missing them  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6f1dc8e4c 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Move setting the parsing flags to the actual depacketizers  
							
							This gets rid of almost all the codec specific details from the
generic rtpdec code.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21f5c24b80 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: Return one AAC AU per AVPacket  
							
							This makes the returned data valid to stream copy into other
containers as well, not only for decoding straight away.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a7ba324413 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: Check the remaining amount of data before reading  
							
							This fixes possible buffer overreads.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								977d4a3b8a 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: Check the return value from malloc  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90c784cc13 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Pass the sequence number to depacketizers  
							
							This allows depacketizers to figure out if packets have been lost.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3f60dcbdd 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: Cosmetic cleanup  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dd0650fe6 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: au_headers is a single array, simple av_free is enough  
							
							Fixes CID700204. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								456001486e 
								
							
								 
							
						 
						
							
							
								
								rtsp: Don't expose the MS-RTSP RTX data stream to the caller  
							
							This avoids exposing a dummy AVStream which won't get any data
and which will make avformat_find_stream_info wait for info about
this stream.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32f3c541bc 
								
							
								 
							
						 
						
							
							
								
								doxygen: Do not include license boilerplates in Doxygen comment blocks.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c88ebdb42c 
								
							
								 
							
						 
						
							
							
								
								Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb3244dee2 
								
							
								 
							
						 
						
							
							
								
								Replace all usage of strcasecmp/strncasecmp  
							
							All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9261e6cf3f 
								
							
								 
							
						 
						
							
							
								
								rtp: Rename the open/close functions to alloc/free  
							
							This avoids clashes if we internally want to override the global
open function.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								437fb1c87d 
								
							
								 
							
						 
						
							
							
								
								Remove a few if (p) av_free(p) forms  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								311baee795 
								
							
								 
							
						 
						
							
							
								
								Make hex_to_data a lavf internal function  
							
							This is useful for other future RTP depacketizers
Originally committed as revision 24747 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								965a3ddb1f 
								
							
								 
							
						 
						
							
							
								
								Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file  
							
							Originally committed as revision 24596 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1537817e38 
								
							
								 
							
						 
						
							
							
								
								Move SPACE_CHARS back to libavformat/internal.h  
							
							It will be used by other parts of lavf now. This reverts svn rev 23846.
Originally committed as revision 24265 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4332bfbff8 
								
							
								 
							
						 
						
							
							
								
								Reindent  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23852 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efc6d45196 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23851 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b114d85ba 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Move space_chars from avformat/internal to rtpdec  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23846 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c47f567c70 
								
							
								 
							
						 
						
							
							
								
								rtpdec_mpeg4: Rename PayloadContext to be consistently 'data'  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23773 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca937a5508 
								
							
								 
							
						 
						
							
							
								
								RTSP, rtpdec: Move RTPPayloadData into rtpdec_mpeg4 and remove all references to rtp_payload_data in rtpdec and rtsp  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23772 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73e6c53e64 
								
							
								 
							
						 
						
							
							
								
								rtpdec: Move AAC depacketization code in rtpdec to a proper payload handler  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23771 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fc8ac7fd8 
								
							
								 
							
						 
						
							
							
								
								RTSP: Move more SDP/FMTP stuff from rtsp.c to rtpdec_mpeg4.c  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23770 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b3788efc3 
								
							
								 
							
						 
						
							
							
								
								RTSP: Decouple MPEG-4 and AAC specific parts from rtsp.c  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23769 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago