summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-24 12:45:15 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 23:07:32 +0200
commitf4b59334bd898c47c9ac30999a346176548630a8 (patch)
tree587e6fea182761e77996c2bf3a47fd87b0d580e1 /libavformat/rtpdec.h
parent78791c086bcaf9eb084c27555b31fea8bbb7624a (diff)
rtpdec: Remove the now unused .alloc field
Always use the .priv_data_size field instead. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 94f2f0cbfb..9b7c36c649 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -127,8 +127,6 @@ 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);
- /** Allocate any data needed by the rtp parsing for this dynamic data. */
- PayloadContext *(*alloc)(void);
/** Free any data needed by the rtp parsing for this dynamic data. */
void (*free)(PayloadContext *protocol_data);
/** Parse handler for this dynamic packet */