Change ffm_write_write_index to return int, and return if error occured.
Patch by Patrik Kullman, patrik at yes dot nu Originally committed as revision 17172 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
22009729d7
commit
6fcce4f995
2 changed files with 5 additions and 3 deletions
|
|
@ -1180,7 +1180,7 @@ int64_t av_gettime(void);
|
|||
/* 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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue