diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-29 16:51:26 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-30 17:32:18 +0200 |
commit | 258366066479391aa998e3c8e87f70bec559db72 (patch) | |
tree | 8e65e42ec941194d39f26c3063009a21e73a1895 /libavformat/rtpdec.h | |
parent | 7bb3e6259492c9923881f906be88b0c2eb5e071e (diff) | |
download | ffmpeg-258366066479391aa998e3c8e87f70bec559db72.tar.gz |
rtpdec: Add an init function that can do custom codec context initialization
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 eb1e62daec..9e2bfd01d5 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -122,6 +122,7 @@ struct RTPDynamicProtocolHandler_s { * require any custom depacketization code. */ // may be null + int (*init)(AVFormatContext *s, int st_index, PayloadContext *priv_data); ///< Initialize dynamic protocol handler, called after the full rtpmap line is parsed int (*parse_sdp_a_line) (AVFormatContext *s, int st_index, PayloadContext *priv_data, |