diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 11:17:35 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-03 11:43:48 +0000 |
commit | 9ad4c65f6fa7ff6d3fb7d5ea02908bbd6adc583f (patch) | |
tree | 1559619107b97d9a60af0ff3461660a592780ccb | |
parent | e65b1934bf4f2fbde611b75ea6c0c871daaf0b56 (diff) | |
download | ffmpeg-9ad4c65f6fa7ff6d3fb7d5ea02908bbd6adc583f.tar.gz |
rtmpproto: rename URLContext* argument in rtmp_write()
Now the first argument is URLContext *h. However, the function logs to
LOG_CONTEXT, which is #defined as 's' for new lavf major versions.
Therefore, rename h -> s.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavformat/rtmpproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 3ad49d6234..748aab33cc 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -923,9 +923,9 @@ static int rtmp_read(URLContext *s, uint8_t *buf, int size) return orig_size; } -static int rtmp_write(URLContext *h, const uint8_t *buf, int size) +static int rtmp_write(URLContext *s, const uint8_t *buf, int size) { - RTMPContext *rt = h->priv_data; + RTMPContext *rt = s->priv_data; int size_temp = size; int pktsize, pkttype; uint32_t ts; |