Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4457:6ed62b8257dd | 4458:f734aba9452e |
---|---|
1178 int64_t av_gettime(void); | 1178 int64_t av_gettime(void); |
1179 | 1179 |
1180 /* ffm-specific for ffserver */ | 1180 /* ffm-specific for ffserver */ |
1181 #define FFM_PACKET_SIZE 4096 | 1181 #define FFM_PACKET_SIZE 4096 |
1182 int64_t ffm_read_write_index(int fd); | 1182 int64_t ffm_read_write_index(int fd); |
1183 void ffm_write_write_index(int fd, int64_t pos); | 1183 int ffm_write_write_index(int fd, int64_t pos); |
1184 void ffm_set_write_index(AVFormatContext *s, int64_t pos, int64_t file_size); | 1184 void ffm_set_write_index(AVFormatContext *s, int64_t pos, int64_t file_size); |
1185 | 1185 |
1186 /** | 1186 /** |
1187 * Attempts to find a specific tag in a URL. | 1187 * Attempts to find a specific tag in a URL. |
1188 * | 1188 * |