aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-25 00:31:39 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-25 00:32:06 +0100
commit79052cd4ce4a8857cd1088cc69ba59506dfb1b81 (patch)
tree0fd3a32dc325c6eeec6cf17c47d8616b2e59016e /libavformat/rtpdec.h
parentfa80b76b110c663809671f7254bc07513710c061 (diff)
parent078d43e23a7a3d64aafee8a58b380d3e139b3020 (diff)
downloadffmpeg-79052cd4ce4a8857cd1088cc69ba59506dfb1b81.tar.gz
Merge commit '078d43e23a7a3d64aafee8a58b380d3e139b3020'
* commit '078d43e23a7a3d64aafee8a58b380d3e139b3020': rtpdec: Free depacketizers if the init function failed 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 23329b6df3..356449aefa 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -129,7 +129,7 @@ struct RTPDynamicProtocolHandler {
PayloadContext *priv_data, const char *line);
/** 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. */
+ * caller. This is called even if the init method failed. */
void (*free)(PayloadContext *protocol_data);
/** Parse handler for this dynamic packet */
DynamicPayloadPacketHandlerProc parse_packet;