Module: libav
Branch: master
Commit: 142887741fceed6de63a64e21cfca1944c2be889

Author:    Rafaël Carré <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Mon Sep 26 11:56:47 2011 -0400

rtp: Correct ff_rtp_get_payload_type documentation

Since 0c378ea1f, it can't fail anymore.

Signed-off-by: Martin Storsjö <[email protected]>

---

 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);
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to