mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
rtp: Correct ff_rtp_get_payload_type documentation
Since 0c378ea1f
, it can't fail anymore.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
e3245b2631
commit
142887741f
@ -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…
Reference in New Issue
Block a user