mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-03 05:13:44 +00: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.
|
* Return the payload type for a given codec.
|
||||||
*
|
*
|
||||||
* @param codec The context of the codec
|
* @param codec The context of the codec
|
||||||
* @return In case of unknown payload type or dynamic payload type, a
|
* @return The payload type (the 'PT' field in the RTP header).
|
||||||
* negative value is returned; otherwise, the payload type (the 'PT' field
|
|
||||||
* in the RTP header) is returned.
|
|
||||||
*/
|
*/
|
||||||
int ff_rtp_get_payload_type(AVCodecContext *codec);
|
int ff_rtp_get_payload_type(AVCodecContext *codec);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user