Commit 14288774 authored by Rafaël Carré's avatar Rafaël Carré Committed by Martin Storsjö

rtp: Correct ff_rtp_get_payload_type documentation

Since 0c378ea1, it can't fail anymore.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent e3245b26
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment