summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-07-05 07:01:07 +0000
committerAnton Khirnov <anton@khirnov.net>2014-07-09 13:40:54 +0000
commit0307cc2253e76772b1c645ac6117d08da87a147c (patch)
treea888e60dee2ceb9b4abbe48ec4f13a70303d4015 /libavformat/rtpdec.h
parent650d384048ed42579cc6d67bf32a94b468c0b6cb (diff)
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.h6
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));