a static function
Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
return -1;
}
-int rtp_get_payload_type(AVCodecContext *codec)
+int ff_rtp_get_payload_type(AVCodecContext *codec)
{
int i, payload_type;
#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
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;
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 */
}