Browse Source

rtp: Correct ff_rtp_get_payload_type documentation

Since 0c378ea1f, it can't fail anymore.

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.9
Rafaël Carré Martin Storsjö 14 years ago
parent
commit
142887741f
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavformat/rtp.h

+ 1
- 3
libavformat/rtp.h View 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);



Loading…
Cancel
Save