projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3245b2
)
rtp: Correct ff_rtp_get_payload_type documentation
author
Rafaël Carré
<rafael.carre@savoirfairelinux.com>
Mon, 26 Sep 2011 15:56:47 +0000
(11:56 -0400)
committer
Martin Storsjö
<martin@martin.st>
Mon, 26 Sep 2011 18:54:14 +0000
(21:54 +0300)
Since
0c378ea1f
, it can't fail anymore.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtp.h
patch
|
blob
|
history
diff --git
a/libavformat/rtp.h
b/libavformat/rtp.h
index
36157ce
..
4d948ad
100644
(file)
--- a/
libavformat/rtp.h
+++ b/
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);