comparison udp.c @ 6068:7fdda2416684 libavformat

Declare the url_write buffer parameter as const
author mstorsjo
date Tue, 01 Jun 2010 07:46:23 +0000
parents 178de7695c6c
children 68fba42e1dea
comparison
equal deleted inserted replaced
6067:51ae348d4511 6068:7fdda2416684
454 } 454 }
455 } 455 }
456 return len; 456 return len;
457 } 457 }
458 458
459 static int udp_write(URLContext *h, uint8_t *buf, int size) 459 static int udp_write(URLContext *h, const uint8_t *buf, int size)
460 { 460 {
461 UDPContext *s = h->priv_data; 461 UDPContext *s = h->priv_data;
462 int ret; 462 int ret;
463 463
464 for(;;) { 464 for(;;) {