Commit ea468763 authored by Anton Khirnov's avatar Anton Khirnov Committed by Michael Niedermayer

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: 's avatarMans Rullgard <mans@mansr.com>
(cherry picked from commit 9ad4c65f)
parent b9dab113
...@@ -923,9 +923,9 @@ static int rtmp_read(URLContext *s, uint8_t *buf, int size) ...@@ -923,9 +923,9 @@ static int rtmp_read(URLContext *s, uint8_t *buf, int size)
return orig_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 size_temp = size;
int pktsize, pkttype; int pktsize, pkttype;
uint32_t ts; uint32_t ts;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment