Mercurial > libavformat.hg
diff avformat.h @ 4458:f734aba9452e libavformat
Change ffm_write_write_index to return int, and return if error occured.
Patch by Patrik Kullman, patrik at yes dot nu
author | bcoudurier |
---|---|
date | Thu, 12 Feb 2009 02:15:07 +0000 |
parents | 1842e64fe89a |
children | 9eedb6599102 |
line wrap: on
line diff
--- a/avformat.h Thu Feb 12 00:08:44 2009 +0000 +++ b/avformat.h Thu Feb 12 02:15:07 2009 +0000 @@ -1180,7 +1180,7 @@ /* ffm-specific for ffserver */ #define FFM_PACKET_SIZE 4096 int64_t ffm_read_write_index(int fd); -void ffm_write_write_index(int fd, int64_t pos); +int ffm_write_write_index(int fd, int64_t pos); void ffm_set_write_index(AVFormatContext *s, int64_t pos, int64_t file_size); /**