diff options
author | Patrik Kullman <patrik@yes.nu> | 2009-02-12 02:15:07 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-12 02:15:07 +0000 |
commit | 6fcce4f995df3c6c44b16a810b772f529e9aa6bf (patch) | |
tree | 1b40cd43cc638e778db33417c39273270f0d3df4 /libavformat/avformat.h | |
parent | 22009729d7acba3f79a7d0012fec4aadf4025abc (diff) | |
download | ffmpeg-6fcce4f995df3c6c44b16a810b772f529e9aa6bf.tar.gz |
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
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a1a9b601ef..bb03e4009c 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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); /** |