mp3: Forward seeking errors
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
32c8d89c03
commit
a5a6a786bf
@ -422,7 +422,9 @@ static int reposition(AVFormatContext *s, int64_t pos)
|
|||||||
if (best_valid <= 0)
|
if (best_valid <= 0)
|
||||||
return AVERROR(ENOSYS);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user