This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
a static function Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Abeni
16 years ago
parent
42402a55b0
commit
0550b58f4e
4 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/rtp.c
+1
-1
libavformat/rtp.h
+1
-1
libavformat/rtpenc.c
+1
-1
libavformat/sdp.c
+ 1
- 1
libavformat/rtp.c
View File
@@ -93,7 +93,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type)
return -1;
}
int rtp_get_payload_type(AVCodecContext *codec)
int
ff_
rtp_get_payload_type(AVCodecContext *codec)
{
int i, payload_type;
+ 1
- 1
libavformat/rtp.h
View File
@@ -24,7 +24,7 @@
#include "libavcodec/avcodec.h"
/** return < 0 if unknown payload type */
int rtp_get_payload_type(AVCodecContext *codec);
int
ff_
rtp_get_payload_type(AVCodecContext *codec);
#define RTP_PT_PRIVATE 96
#define RTP_VERSION 2
+ 1
- 1
libavformat/rtpenc.c
View File
@@ -49,7 +49,7 @@ static int rtp_write_header(AVFormatContext *s1)
return -1;
st = s1->streams[0];
payload_type = rtp_get_payload_type(st->codec);
payload_type =
ff_
rtp_get_payload_type(st->codec);
if (payload_type < 0)
payload_type = RTP_PT_PRIVATE; /* private payload type */
s->payload_type = payload_type;
+ 1
- 1
libavformat/sdp.c
View File
@@ -233,7 +233,7 @@ static void sdp_write_media(char *buff, int size, AVCodecContext *c, const char
const char *type;
int payload_type;
payload_type = rtp_get_payload_type(c);
payload_type =
ff_
rtp_get_payload_type(c);
if (payload_type < 0) {
payload_type = 96; /* FIXME: how to assign a private pt? rtp.c is broken too */
}
Write
Preview
Loading…
Cancel
Save