diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 919a4b59e0..e2ad11f5a7 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -207,7 +207,6 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type) return -1; } -/* return < 0 if unknown payload type */ int rtp_get_payload_type(AVCodecContext *codec) { int i, payload_type; diff --git a/libavformat/rtp.h b/libavformat/rtp.h index d142fff5e1..d89bf82a8a 100644 --- a/libavformat/rtp.h +++ b/libavformat/rtp.h @@ -26,6 +26,8 @@ int rtp_init(void); int rtp_get_codec_info(AVCodecContext *codec, int payload_type); + +/* return < 0 if unknown payload type */ int rtp_get_payload_type(AVCodecContext *codec); typedef struct RTPDemuxContext RTPDemuxContext;