Mercurial > libavformat.hg
comparison rtmpproto.c @ 6068:7fdda2416684 libavformat
Declare the url_write buffer parameter as const
author | mstorsjo |
---|---|
date | Tue, 01 Jun 2010 07:46:23 +0000 |
parents | 1e49d06baf93 |
children | bd851edc58ac |
comparison
equal
deleted
inserted
replaced
6067:51ae348d4511 | 6068:7fdda2416684 |
---|---|
920 return ret; | 920 return ret; |
921 } | 921 } |
922 return orig_size; | 922 return orig_size; |
923 } | 923 } |
924 | 924 |
925 static int rtmp_write(URLContext *h, uint8_t *buf, int size) | 925 static int rtmp_write(URLContext *h, const uint8_t *buf, int size) |
926 { | 926 { |
927 RTMPContext *rt = h->priv_data; | 927 RTMPContext *rt = h->priv_data; |
928 int size_temp = size; | 928 int size_temp = size; |
929 int pktsize, pkttype; | 929 int pktsize, pkttype; |
930 uint32_t ts; | 930 uint32_t ts; |