mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
avio: move two ff_udp_* functions from avio_internal to url.h
This commit is contained in:
parent
acaceca2f1
commit
d6bbe76124
@ -92,10 +92,6 @@ int ffio_read_pause(AVIOContext *h, int pause);
|
|||||||
int64_t ffio_read_seek (AVIOContext *h, int stream_index,
|
int64_t ffio_read_seek (AVIOContext *h, int stream_index,
|
||||||
int64_t timestamp, int flags);
|
int64_t timestamp, int flags);
|
||||||
|
|
||||||
/* udp.c */
|
|
||||||
int ff_udp_set_remote_url(URLContext *h, const char *uri);
|
|
||||||
int ff_udp_get_local_port(URLContext *h);
|
|
||||||
|
|
||||||
void ffio_init_checksum(AVIOContext *s,
|
void ffio_init_checksum(AVIOContext *s,
|
||||||
unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
|
unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
|
||||||
unsigned long checksum);
|
unsigned long checksum);
|
||||||
|
@ -140,4 +140,8 @@ int ffurl_get_file_handle(URLContext *h);
|
|||||||
*/
|
*/
|
||||||
int ffurl_register_protocol(URLProtocol *protocol, int size);
|
int ffurl_register_protocol(URLProtocol *protocol, int size);
|
||||||
|
|
||||||
|
/* udp.c */
|
||||||
|
int ff_udp_set_remote_url(URLContext *h, const char *uri);
|
||||||
|
int ff_udp_get_local_port(URLContext *h);
|
||||||
|
|
||||||
#endif //AVFORMAT_URL_H
|
#endif //AVFORMAT_URL_H
|
||||||
|
Loading…
Reference in New Issue
Block a user