]> git.sesse.net Git - ffmpeg/commitdiff
rtmpproto: rename URLContext* argument in rtmp_write()
authorAnton Khirnov <anton@khirnov.net>
Thu, 3 Feb 2011 11:17:35 +0000 (11:17 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 4 Feb 2011 02:10:12 +0000 (03:10 +0100)
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 9ad4c65f6fa7ff6d3fb7d5ea02908bbd6adc583f)

libavformat/rtmpproto.c

index 3ad49d623404ab0a3dbb61d84a42812694fcd017..748aab33cc9c765309e732959411461416a69fa4 100644 (file)
@@ -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;