diff --git a/libavformat/asf.c b/libavformat/asf.c index c614cb5854..e7bc448251 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -1055,7 +1055,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int if(ret >= 0) asf_reset_header(s); if (ret != AVERROR(ENOSYS)) - return ret; + return ret; } if (!asf->index_read)