summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-12-11 15:52:18 +0200
committerMartin Storsjö <martin@martin.st>2013-01-08 17:47:27 +0200
commit42805eda554a7fc44341282771531e7837ac72b7 (patch)
treee41f5c23404f95ebaf2e5bf8687ae83eaee92742 /libavformat/rtpdec.h
parent9c80ed836a511293f4cc3a858060969d32f2b1ce (diff)
rtpdec: Store the dynamic payload handler in the rtpdec context
This allows calling other dynamic payload handler functions if needed. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 7c51f5a8d2..75863b8ccb 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -184,7 +184,7 @@ struct RTPDemuxContext {
uint8_t buf[RTP_MAX_PACKET_LENGTH];
/* dynamic payload stuff */
- DynamicPayloadPacketHandlerProc parse_packet;
+ const RTPDynamicProtocolHandler *handler;
PayloadContext *dynamic_protocol_context;
};