diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 13:20:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:51:57 +0100 |
commit | 6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393 (patch) | |
tree | 16acae746d2c37d10c07703437940265b7463fa6 /libavformat/rtsp.c | |
parent | 3b4aaa61906321b44e9724d9fed11e552406ea50 (diff) | |
download | ffmpeg-6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393.tar.gz |
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 487e910c17..0c42829d39 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1849,7 +1849,7 @@ static int sdp_probe(AVProbeData *p1) return 0; } -static int sdp_read_header(AVFormatContext *s, AVFormatParameters *ap) +static int sdp_read_header(AVFormatContext *s) { RTSPState *rt = s->priv_data; RTSPStream *rtsp_st; @@ -1935,8 +1935,7 @@ static int rtp_probe(AVProbeData *p) return 0; } -static int rtp_read_header(AVFormatContext *s, - AVFormatParameters *ap) +static int rtp_read_header(AVFormatContext *s) { uint8_t recvbuf[1500]; char host[500], sdp[500]; @@ -2013,7 +2012,7 @@ static int rtp_read_header(AVFormatContext *s, rt->media_type_mask = (1 << (AVMEDIA_TYPE_DATA+1)) - 1; - ret = sdp_read_header(s, ap); + ret = sdp_read_header(s); s->pb = NULL; return ret; |