diff options
author | Martin Storsjö <martin@martin.st> | 2015-02-23 21:57:33 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-02-24 16:23:37 +0200 |
commit | e72605f80bf5cbe32053a554ccc137e0a99cf3dd (patch) | |
tree | f9d69244ad2c164cafc60a0ff627fff258ab259b /libavformat/rtpdec.h | |
parent | 2b982e92f42a6e661d90b12b6592cd13cae496d4 (diff) | |
download | ffmpeg-e72605f80bf5cbe32053a554ccc137e0a99cf3dd.tar.gz |
rtpdec: Allow allocating and freeing the private data without explicit functions
This can reduce the amount of boilerplate in simple depacketizers.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |