diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-07-05 07:01:07 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-07-09 13:40:54 +0000 |
commit | 0307cc2253e76772b1c645ac6117d08da87a147c (patch) | |
tree | a888e60dee2ceb9b4abbe48ec4f13a70303d4015 /libavformat/rtpdec.h | |
parent | 650d384048ed42579cc6d67bf32a94b468c0b6cb (diff) | |
download | ffmpeg-0307cc2253e76772b1c645ac6117d08da87a147c.tar.gz |
rtpdec: pass an AVFormatContext to ff_parse_fmtp()
Use it for logging, instead of NULL or the stream codec context.
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 6b161172fd..46b08ce925 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -200,8 +200,10 @@ RTPDynamicProtocolHandler *ff_rtp_handler_find_by_id(int id, int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char *value, int value_size); -int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, - int (*parse_fmtp)(AVStream *stream, +int ff_parse_fmtp(AVFormatContext *s, + AVStream *stream, PayloadContext *data, const char *p, + int (*parse_fmtp)(AVFormatContext *s, + AVStream *stream, PayloadContext *data, char *attr, char *value)); |