You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5'
* commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5': rtpproto: Move rtpproto specific function declarations to a separate header Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -36,6 +36,7 @@ | ||||
| #include "libavformat/network.h" | ||||
| #include "libavformat/os_support.h" | ||||
| #include "libavformat/rtpdec.h" | ||||
| #include "libavformat/rtpproto.h" | ||||
| #include "libavformat/rtsp.h" | ||||
| #include "libavformat/avio_internal.h" | ||||
| #include "libavformat/internal.h" | ||||
|   | ||||
| @@ -51,10 +51,6 @@ int ff_rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, | ||||
| void ff_rtp_parse_close(RTPDemuxContext *s); | ||||
| int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s); | ||||
| void ff_rtp_reset_packet_queue(RTPDemuxContext *s); | ||||
| int ff_rtp_get_local_rtp_port(URLContext *h); | ||||
| int ff_rtp_get_local_rtcp_port(URLContext *h); | ||||
|  | ||||
| int ff_rtp_set_remote_url(URLContext *h, const char *uri); | ||||
|  | ||||
| /** | ||||
|  * Send a dummy packet on both port pairs to set up the connection | ||||
|   | ||||
| @@ -28,7 +28,8 @@ | ||||
| #include "libavutil/avstring.h" | ||||
| #include "avformat.h" | ||||
| #include "avio_internal.h" | ||||
| #include "rtpdec.h" | ||||
| #include "rtp.h" | ||||
| #include "rtpproto.h" | ||||
| #include "url.h" | ||||
|  | ||||
| #include <stdarg.h> | ||||
|   | ||||
							
								
								
									
										31
									
								
								libavformat/rtpproto.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								libavformat/rtpproto.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| /* | ||||
|  * RTP network protocol | ||||
|  * | ||||
|  * This file is part of FFmpeg. | ||||
|  * | ||||
|  * FFmpeg is free software; you can redistribute it and/or | ||||
|  * modify it under the terms of the GNU Lesser General Public | ||||
|  * License as published by the Free Software Foundation; either | ||||
|  * version 2.1 of the License, or (at your option) any later version. | ||||
|  * | ||||
|  * FFmpeg is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||
|  * Lesser General Public License for more details. | ||||
|  * | ||||
|  * You should have received a copy of the GNU Lesser General Public | ||||
|  * License along with FFmpeg; if not, write to the Free Software | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVFORMAT_RTPPROTO_H | ||||
| #define AVFORMAT_RTPPROTO_H | ||||
|  | ||||
| #include "url.h" | ||||
|  | ||||
| int ff_rtp_set_remote_url(URLContext *h, const char *uri); | ||||
|  | ||||
| int ff_rtp_get_local_rtp_port(URLContext *h); | ||||
| int ff_rtp_get_local_rtcp_port(URLContext *h); | ||||
|  | ||||
| #endif /* AVFORMAT_RTPPROTO_H */ | ||||
| @@ -42,6 +42,7 @@ | ||||
| #include "rtsp.h" | ||||
|  | ||||
| #include "rtpdec.h" | ||||
| #include "rtpproto.h" | ||||
| #include "rdt.h" | ||||
| #include "rtpdec_formats.h" | ||||
| #include "rtpenc_chain.h" | ||||
|   | ||||
| @@ -29,6 +29,7 @@ | ||||
| #include "internal.h" | ||||
| #include "network.h" | ||||
| #include "os_support.h" | ||||
| #include "rtpproto.h" | ||||
| #include "rtsp.h" | ||||
| #include "rdt.h" | ||||
| #include "url.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user