summaryrefslogtreecommitdiff
path: root/formats/format_ogg_vorbis.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-02-20 23:35:12 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-02-20 23:35:12 +0000
commitaa20c556f75ec1556e58259ff2168a26bc574b31 (patch)
tree867b95de4af325e2b9e52f635b10137ffde176ba /formats/format_ogg_vorbis.c
parent67e55d4d67cde1495dfa2c3f8cad7ba61ed6bf50 (diff)
Bug 5984 - Convert file offsets to 64 bit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_ogg_vorbis.c')
-rw-r--r--formats/format_ogg_vorbis.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/formats/format_ogg_vorbis.c b/formats/format_ogg_vorbis.c
index 408f19e13..0437a38ef 100644
--- a/formats/format_ogg_vorbis.c
+++ b/formats/format_ogg_vorbis.c
@@ -626,14 +626,12 @@ static int ogg_vorbis_trunc(struct ast_filestream *s)
* \return 0 on success, -1 on failure.
*/
-static int ogg_vorbis_seek(struct ast_filestream *s, long sample_offset,
- int whence)
-{
+static int ogg_vorbis_seek(struct ast_filestream *s, off_t sample_offset, int whence) {
ast_log(LOG_WARNING, "Seeking is not supported on OGG/Vorbis streams!\n");
return -1;
}
-static long ogg_vorbis_tell(struct ast_filestream *s)
+static off_t ogg_vorbis_tell(struct ast_filestream *s)
{
ast_log(LOG_WARNING, "Telling is not supported on OGG/Vorbis streams!\n");
return -1;