aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@savoirfairelinux.com>2011-09-26 11:56:47 -0400
committerMartin Storsjö <martin@martin.st>2011-09-26 21:54:14 +0300
commit142887741fceed6de63a64e21cfca1944c2be889 (patch)
treed57df3aca6e5d740d46acd08e87c5cccff88deae
parente3245b2631990fee05183cf12d5c860ef923b8d9 (diff)
downloadffmpeg-142887741fceed6de63a64e21cfca1944c2be889.tar.gz
rtp: Correct ff_rtp_get_payload_type documentation
Since 0c378ea1f, it can't fail anymore. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 36157ce172..4d948ada82 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);