[FFmpeg-cvslog] rtp: Correct ff_rtp_get_payload_type documentation

Rafaël Carré git at videolan.org
Tue Sep 27 02:25:29 CEST 2011


ffmpeg | branch: master | Rafaël Carré <rafael.carre at savoirfairelinux.com> | Mon Sep 26 11:56:47 2011 -0400| [142887741fceed6de63a64e21cfca1944c2be889] | committer: Martin Storsjö

rtp: Correct ff_rtp_get_payload_type documentation

Since 0c378ea1f, it can't fail anymore.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=142887741fceed6de63a64e21cfca1944c2be889
---

 libavformat/rtp.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 36157ce..4d948ad 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -27,9 +27,7 @@
  * Return the payload type for a given codec.
  *
  * @param codec The context of the codec
- * @return In case of unknown payload type or dynamic payload type, a
- * negative value is returned; otherwise, the payload type (the 'PT' field
- * in the RTP header) is returned.
+ * @return The payload type (the 'PT' field in the RTP header).
  */
 int ff_rtp_get_payload_type(AVCodecContext *codec);
 



More information about the ffmpeg-cvslog mailing list