summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/format_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/format_mp3.c b/addons/format_mp3.c
index 4e71961f5..ceb1accbb 100644
--- a/addons/format_mp3.c
+++ b/addons/format_mp3.c
@@ -264,7 +264,7 @@ static int mp3_seek(struct ast_filestream *s, off_t sample_offset, int whence)
}
p->seek = offset;
- return p->seek;
+ return fseek(s->f, offset, SEEK_SET);
}