From f4b59334bd898c47c9ac30999a346176548630a8 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 24 Feb 2015 12:45:15 +0200 Subject: rtpdec: Remove the now unused .alloc field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Always use the .priv_data_size field instead. Signed-off-by: Martin Storsjö --- libavformat/rtpdec.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/rtpdec.h') 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 */ -- cgit v1.2.3