rtp: Correct ff_rtp_get_payload_type documentation

Since 0c378ea1f, it can't fail anymore.

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/2/head
Rafaël Carré 14 years ago committed by Martin Storsjö
parent e3245b2631
commit 142887741f
  1. 4
      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);

Loading…
Cancel
Save