mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
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)
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user