From e72605f80bf5cbe32053a554ccc137e0a99cf3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 23 Feb 2015 21:57:33 +0200 Subject: rtpdec: Allow allocating and freeing the private data without explicit functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This can reduce the amount of boilerplate in simple depacketizers. Signed-off-by: Martin Storsjö --- libavformat/rtpdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtpdec.h') diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index e015942c90..9d867321be 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -120,6 +120,7 @@ struct RTPDynamicProtocolHandler { int static_payload_id; /* 0 means no payload id is set. 0 is a valid * payload ID (PCMU), too, but that format doesn't * require any custom depacketization code. */ + int priv_data_size; /** Initialize dynamic protocol handler, called after the full rtpmap line is parsed, may be null */ int (*init)(AVFormatContext *s, int st_index, PayloadContext *priv_data); -- cgit v1.2.3