Commit a5a6a786 authored by Luca Barbato's avatar Luca Barbato

mp3: Forward seeking errors

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 32c8d89c
......@@ -422,7 +422,9 @@ static int reposition(AVFormatContext *s, int64_t pos)
if (best_valid <= 0)
return AVERROR(ENOSYS);
avio_seek(s->pb, best_pos, SEEK_SET);
p = avio_seek(s->pb, best_pos, SEEK_SET);
if (p < 0)
return p;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment