diff avformat.h @ 3973:549a09cf23fe libavformat

Remove offset_t typedef and use int64_t directly instead. The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included.
author diego
date Fri, 03 Oct 2008 10:16:29 +0000
parents c265c84caa81
children 677bcb3b65cd
line wrap: on
line diff
--- a/avformat.h	Thu Oct 02 21:15:48 2008 +0000
+++ b/avformat.h	Fri Oct 03 10:16:29 2008 +0000
@@ -1065,9 +1065,9 @@
 
 /* ffm-specific for ffserver */
 #define FFM_PACKET_SIZE 4096
-offset_t ffm_read_write_index(int fd);
-void ffm_write_write_index(int fd, offset_t pos);
-void ffm_set_write_index(AVFormatContext *s, offset_t pos, offset_t file_size);
+int64_t ffm_read_write_index(int fd);
+void ffm_write_write_index(int fd, int64_t pos);
+void ffm_set_write_index(AVFormatContext *s, int64_t pos, int64_t file_size);
 
 /**
  * Attempts to find a specific tag in a URL.