mp3: Forward seeking errors

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/140/head
Luca Barbato 10 years ago
parent 32c8d89c03
commit a5a6a786bf
  1. 4
      libavformat/mp3dec.c

@ -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…
Cancel
Save