mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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>
(cherry picked from commit 9ad4c65f6f)
This commit is contained in:
parent
b9dab1131c
commit
ea46876301
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue