OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35014ef
)
rtpdec: Allow dynamic payload handlers to handle static payload types, too
author
Martin Storsjö
<martin@martin.st>
Sun, 5 Dec 2010 19:38:55 +0000
(19:38 +0000)
committer
Martin Storsjö
<martin@martin.st>
Sun, 5 Dec 2010 19:38:55 +0000
(19:38 +0000)
Originally committed as revision 25890 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpdec.h
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec.h
b/libavformat/rtpdec.h
index
41c18c1
..
390071e
100644
(file)
--- a/
libavformat/rtpdec.h
+++ b/
libavformat/rtpdec.h
@@
-116,6
+116,9
@@
struct RTPDynamicProtocolHandler_s {
const char enc_name[50]; /* XXX: still why 50 ? ;-) */
enum AVMediaType codec_type;
enum CodecID codec_id;
+ int static_payload_id; /* 0 means no payload id is set. 0 is a valid
+ * payload ID (PCMU), too, but that format doesn't
+ * require any custom depacketization code. */
// may be null
int (*parse_sdp_a_line) (AVFormatContext *s,