summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-25 00:58:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-25 00:58:39 +0100
commit3130e5be92858b9a15622965cacc9fe59f5336c2 (patch)
tree28d727a541c482d942304d80162b537fcab2580a /libavformat/rtpdec.h
parent7f03f75ce72fe1c6adfc63f621eeb69cde13769a (diff)
parentd594dbecce5f3af7f80bbf5bb1b516d740b69ccd (diff)
Merge commit 'd594dbecce5f3af7f80bbf5bb1b516d740b69ccd'
* commit 'd594dbecce5f3af7f80bbf5bb1b516d740b69ccd': rtpdec: Rename the free method to close Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 356449aefa..96cbb5e5ac 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -130,7 +130,7 @@ struct RTPDynamicProtocolHandler {
/** Free any data needed by the rtp parsing for this dynamic data.
* Don't free the protocol_data pointer itself, that is freed by the
* caller. This is called even if the init method failed. */
- void (*free)(PayloadContext *protocol_data);
+ void (*close)(PayloadContext *protocol_data);
/** Parse handler for this dynamic packet */
DynamicPayloadPacketHandlerProc parse_packet;
int (*need_keyframe)(PayloadContext *context);