diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-25 00:25:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-25 00:25:12 +0100 |
commit | fa80b76b110c663809671f7254bc07513710c061 (patch) | |
tree | 8e5de25c31794db57407a8367a84f7207342631b /libavformat/rtpdec.h | |
parent | 64f58d20b2008bd2c633beef3c21331dfff0d0e5 (diff) | |
parent | bb4a310bb85f43e62240145a656b1e5285b14239 (diff) | |
download | ffmpeg-fa80b76b110c663809671f7254bc07513710c061.tar.gz |
Merge commit 'bb4a310bb85f43e62240145a656b1e5285b14239'
* commit 'bb4a310bb85f43e62240145a656b1e5285b14239':
rtpdec: Don't free the payload context in the .free function
Conflicts:
libavformat/rtpdec_latm.c
libavformat/rtpdec_mpeg4.c
libavformat/rtpdec_mpegts.c
libavformat/rtpdec_xiph.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index b54e258412..23329b6df3 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -127,7 +127,9 @@ struct RTPDynamicProtocolHandler { /** Parse the a= line from the sdp field */ int (*parse_sdp_a_line)(AVFormatContext *s, int st_index, PayloadContext *priv_data, const char *line); - /** Free any data needed by the rtp parsing for this dynamic data. */ + /** 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. */ void (*free)(PayloadContext *protocol_data); /** Parse handler for this dynamic packet */ DynamicPayloadPacketHandlerProc parse_packet; |