rtp: Correct ff_rtp_get_payload_type documentation
authorRafaël Carré <rafael.carre@savoirfairelinux.com>
Mon, 26 Sep 2011 15:56:47 +0000 (11:56 -0400)
committerMartin Storsjö <martin@martin.st>
Mon, 26 Sep 2011 18:54:14 +0000 (21:54 +0300)
Since 0c378ea1f, it can't fail anymore.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtp.h

index 36157ce..4d948ad 100644 (file)
@@ -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);