diff --git a/addons/format_mp3.c b/addons/format_mp3.c index 4e71961f5ddd87bba5412c0b049bd641006a66f2..ceb1accbbb3311a11b003815d74ec226e9eb2581 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); }